Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/memory allocation #44

Merged
merged 2 commits into from
Jun 1, 2024
Merged

Fix/memory allocation #44

merged 2 commits into from
Jun 1, 2024

Conversation

Jamesbarford
Copy link
Owner

Description

Tackles: #43 #42

  • Fixed memory allocation issue with ReAlloc
  • Fixed issue with StrNew()
  • Fixed printing tokens, something to do with adding the sentinal when initially setting up the Cctrl makes things go weird so I copy and pasted the token code out of compileToAst to return the tokens and then I print them... Might be nice to have the lexer independent of the Cctrl if possible.
  • lower cased Compile to compile
  • Only look for .HC files in run.HC

@Jamesbarford Jamesbarford merged commit d2a09c7 into main Jun 1, 2024
@Jamesbarford Jamesbarford deleted the fix/memory-allocation branch June 1, 2024 19:56
Slapparoo pushed a commit to Slapparoo/holyc-lang that referenced this pull request Jun 6, 2024
* further tweaks to fix running tests

* fix for printing tokens
Slapparoo added a commit to Slapparoo/holyc-lang that referenced this pull request Jun 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant