I don't actually know if this fixes anything, but the old version was definitely not doing anything and this is should have the same behaviour as the old one, and run just a bit faster. (details)
Parser now uses constants from the new ast types. (details)
Simple rework to BasicTypes-gen.cc to avoid refering to the old ast. No larger rework at this time. (details)
Added a missing include (not sure how that slipped through) and did some other replacements so the new ast is the source of constants. (details)
Hang on, eval doesn't have any side effects. (details)
Commit
3c714ad4146140c41cc876465879a4e6cb179592
by ajbeach
I don't actually know if this fixes anything, but the old version was definitely not doing anything and this is should have the same behaviour as the old one, and run just a bit faster.