Closed Bug 426462 Opened 16 years ago Closed 16 years ago

Major rewrite of abstract syntax trees

Categories

(Tamarin Graveyard :: Self-hosting compiler (ESC), defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: lhansen, Unassigned)

Details

Attachments

(1 file)

Attached patch Big patchSplinter Review
This patch converts the ASTs to be based mainly on classes and interfaces (plus arrays and primitive data).

The new classes are self-serializing and deserializing, with the help of a little glue code, so ast-encode.es and ast-decode.es disappear completely.

AST tag types that were defined as classes and recognized by 'switch type' in the code generator have been recast as numeric values (aids serialization, probably aids performance eventually).
Attachment #313016 - Flags: review?(jodyer)
Comment on attachment 313016 [details] [diff] [review]
Big patch

I miss the union types already, but I'll take one for the team ;) This will speed things up a bit and provide better (shape) checking.
Attachment #313016 - Flags: review?(jodyer) → review+
Changeset 490:a19e076c7620.  New binaries, too.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: