Are the tools to create new languages still usable? #295
-
If I wanted to add a new programming language to ACK, would I be able to do that using the code that is currently available? |
Beta Was this translation helpful? Give feedback.
Answered by
davidgiven
Feb 21, 2024
Replies: 1 comment
-
Yes; they're a bit archaic, but perfectly usable. You'll want a compiler that's oriented around stack-based code generation, i.e., nearly all of them. A while back I integrated this B compiler: https://github.com/aap/abc It was mostly straightforward, although making the system handle 16-bit bytes was a bit painful. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Wysardry
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes; they're a bit archaic, but perfectly usable. You'll want a compiler that's oriented around stack-based code generation, i.e., nearly all of them. A while back I integrated this B compiler: https://github.com/aap/abc It was mostly straightforward, although making the system handle 16-bit bytes was a bit painful.