Implement Typed IR - #504
Conversation
# Conflicts: # hkmc2/shared/src/main/scala/hkmc2/codegen/BlockSimplifier.scala # hkmc2/shared/src/main/scala/hkmc2/codegen/Lowering.scala # hkmc2/shared/src/main/scala/hkmc2/codegen/ReflectionInstrumenter.scala # hkmc2/shared/src/main/scala/hkmc2/codegen/StackSafeTransform.scala # hkmc2/shared/src/main/scala/hkmc2/codegen/UsedVarAnalyzer.scala # hkmc2/shared/src/main/scala/hkmc2/codegen/js/JSBuilder.scala # hkmc2/shared/src/test/mlscript/block-staging/Nested.mls # hkmc2/shared/src/test/mlscript/codegen/BlockPrinter.mls # hkmc2/shared/src/test/mlscript/codegen/FirstClassFunctionTransform.mls # hkmc2/shared/src/test/mlscript/codegen/Hygiene.mls # hkmc2/shared/src/test/mlscript/codegen/PlainClasses.mls # hkmc2/shared/src/test/mlscript/deforest/relaxedPrograms.mls # hkmc2/shared/src/test/mlscript/lifter/PrivateMutableFields.mls
# Conflicts: # hkmc2/shared/src/main/scala/hkmc2/codegen/HandlerLowering.scala # hkmc2/shared/src/main/scala/hkmc2/codegen/Lifter.scala # hkmc2/shared/src/main/scala/hkmc2/codegen/Lowering.scala # hkmc2/shared/src/main/scala/hkmc2/codegen/ReflectionInstrumenter.scala # hkmc2/shared/src/main/scala/hkmc2/codegen/StackSafeTransform.scala
… add :fixme to Debugging.mls Co-authored-by: LPTK <2545083+LPTK@users.noreply.github.com>
|
Most of the work should be done now. I will go through the changes once more tomorrow and clean this up. |
|
For some reason I can't reproduce the diff in the CI locally... -//│ set tmp = Runtime⁰.Tuple¹.get¹(c, 1);
+//│ set tmp = Runtime⁰.Tuple⁰.get⁰(c, 1); |
This reverts commit e95e681.
…to enhance/typed-ir
|
Pushed two more fixes:
I will go through the whole diff tomorrow (especially the new difftests) to try to unslopify some of the changes and simplify the verbose explanations Claude likes to attach to its work. I will mark this ready-for-review once this is done. Edit: Depends on LPTK#27. |
No description provided.