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

Version 0.4.0 #3

Merged
merged 9 commits into from
Sep 1, 2022
Merged

Version 0.4.0 #3

merged 9 commits into from
Sep 1, 2022

Conversation

Pandicon
Copy link
Owner

@Pandicon Pandicon commented Sep 1, 2022

Merges version 0.4.0 into main

Fixes:

  • Column counting in the lexer is now fixed

New features:

  • Adds compatibility with brainfuck
  • The ' character now switches between using the global and local memory in general, not just for the following command
  • Output can now be chained (|5|. will print the character 5 times in a row)

Breaking changes:

  • Secondary memories have their first cell initialised to 1. You can avoid this with the no-brainfuck flag or preprocessor statement.
  • The ' character now switches between using the global and local memory in general, not just for the following command
  • Output is now . for characters and $. for numbers
  • Input is now , for characters and $, for numbers

This will disable brainfuck compatibility, which would bring some behaviour changes
You can now paste in brainfuck code and it will run it
Now ' is used to toggle the use of local memory, instead of denoting that the following command will use it
@Pandicon Pandicon merged commit 0695008 into main Sep 1, 2022
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