uhmanoa-transpiler-project / shaka-scheme

The official repository for the UH Manoa Transpiler Project's Scheme interpreter, Shaka Scheme.
32 stars 24 forks source link

Finished rewrite of Lexer and Parser #41

Closed CinchBlue closed 7 years ago

CinchBlue commented 7 years ago

I now have a basic Lexer and Parser system working for basic lists. We do not support vectors or bytevectors or characters, but the system is prepared to begin working with stuff.

We are missing number support. We need someone to migrate Number over.

Please look at EXAMPLE-scheme-lexer as well as unit-Parser.cpp. The unit test case names are somewhat deceptive because they don't map 1:1 with classes and their methods -- the design is very ad-hoc.

CinchBlue commented 7 years ago

@sehe You're right. This has been changed with the latest commit f9512ec.

Tried to fix the unit-rule-comment.cpp test case by fixing the include in the corresponding header file, lexer/rules/rule_comment.hpp.

CinchBlue commented 7 years ago

Alright. Finally merging this into master.