-
Notifications
You must be signed in to change notification settings - Fork 33
Open
Labels
book-sectionDescribes a part or chapter of the book that needs to be writtenDescribes a part or chapter of the book that needs to be writteneasyLittle experience and/or subject matter knowledge requiredLittle experience and/or subject matter knowledge requiredparserArea: lexing and parsingArea: lexing and parsing
Description
I originally wrote the parser to generate a nested Pair tree data structure, just like Lisp uses cons cells. I did this to simplify bootstrapping into a compiler when I didn't have more complex data structures (like the Array types) available yet.
Since this Lisp-style cons cell data structure is archaic, is it worth refactoring the parser and compiler around the List type?
- the
Listtype is anArray<TaggedCellPtr>so, like most dynamic language arrays is a heterogenous array - the book chapter(s) on parsing will have to be (re)written around the
Listtype rather thanPairs
Zireael07
Metadata
Metadata
Assignees
Labels
book-sectionDescribes a part or chapter of the book that needs to be writtenDescribes a part or chapter of the book that needs to be writteneasyLittle experience and/or subject matter knowledge requiredLittle experience and/or subject matter knowledge requiredparserArea: lexing and parsingArea: lexing and parsing