Dynamic Typed Language Example Using ANTLR

I am looking for some examples of ANTLR v3, I tried to work a little, but found some things that did not meet my requirements. I found the Mantra project, but it is statically typed and "too" for me at the moment, then I found "pie" as an interpreter that is dynamically typed, which I want, but it uses a syntax-oriented interpreter.

I am looking for a fairly small language that is dynamically typed and uses AST, if possible. He does not need to be promoted, if he had classes, I would already be very happy.

I don’t need the target language, since I already have experience with most of the target languages ​​ANTLR v3, and the code is not so difficult to read.

Thank,

William van Doorn

+3
source share
1 answer

Physicalc sounds like it might be what you need.

EDIT - according to the comments: Here is my toy language in which we work.

+1
source

Source: https://habr.com/ru/post/1742567/


All Articles