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

Reimplement compilers using simpler parser generator #201

Closed
vbmacher opened this issue Apr 1, 2021 · 4 comments
Closed

Reimplement compilers using simpler parser generator #201

vbmacher opened this issue Apr 1, 2021 · 4 comments

Comments

@vbmacher
Copy link
Collaborator

vbmacher commented Apr 1, 2021

Current implementation using Java Cup and Jflex is very cumbersome, they are not developed, and they need runtime support.

What I'm looking for is:

  • easy integration with RSyntaxTextArea
  • no runtime needed
  • simplicity of development
  • speed of parsing
@vbmacher
Copy link
Collaborator Author

vbmacher commented Apr 2, 2021

JavaCC:

  • (-) doesn't seem to be developed, just maintained
  • (+) doesn't need a runtime
  • (+) parser+lexer in one tool
  • (-) what the heck is JJTree? seems complex

@vbmacher vbmacher changed the title Reimplement compilers using JavaCC Reimplement compilers using simpler parser generator Apr 2, 2021
@vbmacher
Copy link
Collaborator Author

vbmacher commented Apr 2, 2021

ANTLR:

  • (+) actively developed
  • (+) parser+lexer in one tool or separated
  • (+) they claim AST support is there
  • (-) needs a runtime

@vbmacher
Copy link
Collaborator Author

vbmacher commented Apr 2, 2021

It seems RSyntaxTextArea would like to support ANTLR natively: bobbylight/RSyntaxTextArea#221

@vbmacher
Copy link
Collaborator Author

SSEM compiler or SSEM memory / decoder or whatever combination does something wrong.
BINS and BNUMs are wrongly interpreted by decoder.

vbmacher added a commit that referenced this issue Aug 30, 2021
+ Introduction of "data" opcode in CPU
vbmacher added a commit that referenced this issue Aug 30, 2021
vbmacher added a commit that referenced this issue Sep 3, 2021
vbmacher added a commit that referenced this issue Sep 3, 2021
vbmacher added a commit that referenced this issue Sep 3, 2021
vbmacher added a commit that referenced this issue Oct 3, 2021
vbmacher added a commit that referenced this issue Nov 25, 2021
vbmacher added a commit that referenced this issue Nov 25, 2021
vbmacher added a commit that referenced this issue Dec 3, 2021
vbmacher added a commit that referenced this issue Dec 4, 2021
vbmacher added a commit that referenced this issue Mar 8, 2022
vbmacher added a commit that referenced this issue Mar 11, 2022
vbmacher added a commit that referenced this issue Mar 14, 2022
vbmacher added a commit that referenced this issue Mar 14, 2022
vbmacher added a commit that referenced this issue Mar 14, 2022
vbmacher added a commit that referenced this issue Mar 14, 2022
vbmacher added a commit that referenced this issue Mar 15, 2022
vbmacher added a commit that referenced this issue Mar 17, 2022
vbmacher added a commit that referenced this issue Mar 17, 2022
vbmacher added a commit that referenced this issue Apr 29, 2022
vbmacher added a commit that referenced this issue Apr 30, 2022
vbmacher added a commit that referenced this issue Apr 30, 2022
vbmacher added a commit that referenced this issue May 1, 2022
vbmacher added a commit that referenced this issue May 1, 2022
vbmacher added a commit that referenced this issue May 10, 2022
vbmacher added a commit that referenced this issue May 10, 2022
vbmacher added a commit that referenced this issue May 12, 2022
@vbmacher vbmacher self-assigned this May 13, 2022
@vbmacher vbmacher added this to the 0.41 milestone May 13, 2022
@vbmacher vbmacher removed their assignment May 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant