Skip to content
Success

Changes

Summary

  1. Translated the box pass to the new AST. This includes direct as possible translations of the existing passes are two fix in passes which correct AST problems the direct translation causes. Outside the box pass there have already been many changes, ad there is another in Instantiate Generics, which disconnects designators instead of leaving them connected to the original polymorphic type, which breaks the invarants once the fields are removed in the Eraser sub-pass. There was also a change that was made and un-made in one commit. If translate from the new-AST to the old-AST part way you must, where possible, sort the TypeEnvKey values by string comparison. However, it now passes over that so it would be just extra complexity and run time, so I removed it. I stand at the exit from a great woods, just shy of a year from when I entered it. It has been a difficult and tiring journey. The path has been long and at times comically winding; but most often it was invisible, hidden under an impenetrable canopy and I spend days looking for it. All for a short jog forward before getting lost again. In front of me is another woods. It looks smaller, but I can't see the other side. Anyways, time to keep walking. (details)
  2. add corun/cofor statement, update old cofor (details)
Commit 1ee0a4da6df699e50439c9b01f6f487ba705f8d9 by ajbeach
Translated the box pass to the new AST. This includes direct as possible translations of the existing passes are two fix in passes which correct AST problems the direct translation causes. Outside the box pass there have already been many changes, ad there is another in Instantiate Generics, which disconnects designators instead of leaving them connected to the original polymorphic type, which breaks the invarants once the fields are removed in the Eraser sub-pass. There was also a change that was made and un-made in one commit. If translate from the new-AST to the old-AST part way you must, where possible, sort the TypeEnvKey values by string comparison. However, it now passes over that so it would be just extra complexity and run time, so I removed it. I stand at the exit from a great woods, just shy of a year from when I entered it. It has been a difficult and tiring journey. The path has been long and at times comically winding; but most often it was invisible, hidden under an impenetrable canopy and I spend days looking for it. All for a short jog forward before getting lost again. In front of me is another woods. It looks smaller, but I can't see the other side. Anyways, time to keep walking.
The file was modifiedsrc/GenPoly/module.mk
The file was modifiedsrc/GenPoly/Box.h
The file was modifiedsrc/main.cc
The file was modifiedsrc/GenPoly/InstantiateGenericNew.cpp
The file was addedsrc/GenPoly/BoxNew.cpp
Commit 11ab0b4ac211d6b0761a6a74682cd8bc401333bc by Peter Buhr
add corun/cofor statement, update old cofor
The file was modifiedlibcfa/src/concurrency/cofor.hfa
The file was modifiedsrc/Parser/parser.yy
The file was modifiedlibcfa/src/concurrency/cofor.cfa
The file was modifiedsrc/Parser/lex.ll