Skip to content

Latest commit

 

History

History
executable file
·
30 lines (18 loc) · 663 Bytes

README.md

File metadata and controls

executable file
·
30 lines (18 loc) · 663 Bytes

JIT

Jit is a programming language for journalists.

Compiler Usage

./jit_cli.py
Open the JIT interpreter.

./jit_cli.py -f programs/program3-assignments_and_math.txt
Run the program in the file provided.

Architecture Overview

  • cli or test calls the interpreter

    • interpreter calls the parser

      • parser calls the lexer

        • lexer returns lexemes
      • parser creates and returns an ast

    • interpreter calls the interpreter on the sub-nodes, and executes current ast node

  • cli prints sucess, or test checks output