Skip to content

Commit

Permalink
Merge pull request #78 from Brainrotlang/refactor/symbol_table
Browse files Browse the repository at this point in the history
Introduce HashMap for  Symbol Table Management
  • Loading branch information
SIGMazer authored Jan 18, 2025
2 parents 18f2d8d + 964be8b commit aae6e62
Show file tree
Hide file tree
Showing 7 changed files with 624 additions and 484 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
run: |
bison -d -Wcounterexamples lang.y -o lang.tab.c
flex lang.l
gcc -o brainrot lang.tab.c lex.yy.c ast.c -lfl -lm
gcc -o brainrot hm.c lang.tab.c lex.yy.c ast.c -lfl -lm
- name: Upload build artifacts
uses: actions/upload-artifact@v4
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
all:
bison -d -Wcounterexamples lang.y -o lang.tab.c
flex lang.l
gcc -o brainrot lang.tab.c lex.yy.c ast.c -lfl -lm
gcc -o brainrot hm.c lang.tab.c lex.yy.c ast.c -lfl -lm

test:
pytest -v
Expand Down
Loading

0 comments on commit aae6e62

Please sign in to comment.