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

go: Initialise parser and evaluator #10

Merged
merged 1 commit into from
Sep 11, 2022
Merged

go: Initialise parser and evaluator #10

merged 1 commit into from
Sep 11, 2022

Commits on Sep 11, 2022

  1. go: Initialise parser and evaluator

    Initialise parser and evaluator packages and wire them through all the
    way to the frontend. Variable declaration via inference or type
    declaration, as well as calls builtin function `print` with a variadic
    number of arguments as literals or variables is possible now.
    
    Tweak the frontend to actually print something with the initial demo
    code.
    
    Just like the lexer, many cues are taken from Thorston Ball's
    Interpreter book source code.
    
    Link: https://github.com/juliaogris/monkey
    Signed-off-by: Julia Ogris <[email protected]>
    juliaogris committed Sep 11, 2022
    Configuration menu
    Copy the full SHA
    8d42b20 View commit details
    Browse the repository at this point in the history