Skip to content

Commit

Permalink
Add more basic tests
Browse files Browse the repository at this point in the history
These are all in the unoptimized version, and optimizations are missing compared to PySOM.

Signed-off-by: Stefan Marr <git@stefan-marr.de>
  • Loading branch information
smarr committed Jul 13, 2024
1 parent b8b41c3 commit 767ef1a
Show file tree
Hide file tree
Showing 3 changed files with 1,319 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/compiler/Parser.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ class Parser {

void Classdef(ClassGenerationContext* cgenc);
void method(MethodGenerationContext* mgenc);
void nestedBlock(MethodGenerationContext* mgenc);

private:
void GetSym();
Expand Down Expand Up @@ -104,7 +105,6 @@ class Parser {
VMSymbol* selector(void);
VMSymbol* keywordSelector(void);
StdString _string(void);
void nestedBlock(MethodGenerationContext* mgenc);
void blockPattern(MethodGenerationContext* mgenc);
void blockArguments(MethodGenerationContext* mgenc);
void genPushVariable(MethodGenerationContext*, const StdString&);
Expand Down
Loading

0 comments on commit 767ef1a

Please sign in to comment.