Skip to content
Success

Changes

Summary

  1. Fix the print for enum with type (details)
  2. Introduce posE, valueE, labelE pseudo language to the language. Rework the internal representation of enumeration. (details)
  3. Fix dangling reference to posE function (details)
  4. Remove EnumPosExpr, an early design that no longer used. The implementation of the feature has been replaced by ReplacePseudoFunc (details)
  5. Remove duality functions. They are replaced by recent changed in Cost conversion and CandidateFinder (details)
  6. more proofreading, related-work section still needs work (details)
  7. The remaining improvements I had planned for the Box pass are either very hard or (on reflection) of questionable value, and none are required. Cleans up some loose threads before I may move on. (details)
  8. 1. Add debug print option for replacePseudoFunc; 2. Change resolver handling enum types; 3. change QualifiedNameExpr representation pre-resolver; 4. Disable able a test that currently doesn't work (details)
  9. add more material (details)
Commit 16afb2a5a8827bbc0bd62b1f576b21ab9e335880 by j82liang
Fix the print for enum with type
The file was modifiedsrc/AST/Print.cpp
Commit c75b30ae4d3f97678f27275a033614f675b7fdaf by j82liang
Introduce posE, valueE, labelE pseudo language to the language. Rework the internal representation of enumeration.
The file was modifiedsrc/Validate/Autogen.cpp
The file was modifiedsrc/Validate/ReplacePseudoFunc.cpp
The file was modifiedsrc/ResolvExpr/Unify.cc
The file was modifiedsrc/ResolvExpr/ConversionCost.cc
The file was modifiedsrc/ResolvExpr/CandidateFinder.cpp
The file was modifiedsrc/CodeGen/CodeGenerator.cpp
The file was modifiedsrc/CodeGen/GenType.cc
The file was modifiedsrc/GenPoly/Lvalue.cpp
Commit 496ffc17cf8822f6bee4aed86e97230a1b3a0776 by j82liang
Fix dangling reference to posE function
The file was modifiedsrc/Validate/ReplacePseudoFunc.cpp
The file was modifiedsrc/ResolvExpr/CandidateFinder.cpp
The file was modifiedsrc/Validate/Autogen.cpp
Commit 9ddcee10f8009f7d349eb15c2cfa983e3265d88e by j82liang
Remove EnumPosExpr, an early design that no longer used. The implementation of the feature has been replaced by ReplacePseudoFunc
The file was modifiedsrc/Parser/ExpressionNode.cc
The file was modifiedsrc/InitTweak/InitTweak.cc
The file was modifiedsrc/AST/Expr.hpp
The file was modifiedsrc/AST/Visitor.hpp
The file was modifiedsrc/AST/Print.cpp
The file was modifiedsrc/AST/Expr.cpp
The file was modifiedsrc/AST/Node.cpp
The file was modifiedsrc/AST/Pass.impl.hpp
The file was modifiedsrc/AST/Pass.hpp
The file was modifiedsrc/CodeGen/CodeGenerator.cpp
The file was modifiedsrc/Common/CodeLocationTools.cpp
The file was modifiedsrc/ResolvExpr/CandidateFinder.cpp
The file was modifiedsrc/GenPoly/Box.cpp
The file was modifiedsrc/AST/Fwd.hpp
The file was modifiedsrc/ResolvExpr/ConversionCost.cc
The file was modifiedsrc/CodeGen/CodeGenerator.hpp
The file was modifiedsrc/ResolvExpr/Resolver.cc
Commit 020fa100c9bc0916e08b181151ef5bacc4b91f0f by j82liang
Remove duality functions. They are replaced by recent changed in Cost conversion and CandidateFinder
The file was modifiedsrc/Validate/Autogen.cpp
Commit bd674421bdcbbd7f54eef5135c34f20906db12b0 by Peter Buhr
more proofreading, related-work section still needs work
The file was modifieddoc/proposals/enum.tex
Commit be4335b49426821165ce9e6614e587bf248a5b4b by ajbeach
The remaining improvements I had planned for the Box pass are either very hard or (on reflection) of questionable value, and none are required. Cleans up some loose threads before I may move on.
The file was modifiedsrc/GenPoly/Box.cpp
Commit a55ebcca1b712f00e2fd94a9d348511dd62c8f8a by j82liang
1. Add debug print option for replacePseudoFunc; 2. Change resolver handling enum types; 3. change QualifiedNameExpr representation pre-resolver; 4. Disable able a test that currently doesn't work
The file was modifiedsrc/Validate/FixQualifiedTypes.cpp
The file was modifiedsrc/CompilationState.cc
The file was modifiedsrc/main.cc
The file was modifiedsrc/Validate/ReplacePseudoFunc.cpp
The file was modifiedtests/enum_tests/structEnum.cfa
The file was modifiedsrc/CompilationState.h
The file was modifiedsrc/ResolvExpr/CandidateFinder.cpp
Commit e11cdc0a5ff47ae542d05ae7f3c78c0d944761df by Peter Buhr
add more material
The file was modifieddoc/proposals/enum.tex