Skip to content

harsath/Jix-Interpreter

Repository files navigation

Jix Interpreter

Ubuntu build status

This project implements an interpreter for Jix, a dynamically typed programming language. This repository is under active development.

See examples and test_files directories for example programs in Jix.

Features:

Language:

  • Dynamic types (int, bool, and string)
  • Arrays
    • add()
    • len()
    • pop()
  • Functions
  • Basic functional programming features: first-class functions, higher-order functions, and function pointers.
  • Builtin functions
    • Print()
  • Statements
    • If-else
    • While
    • For
    • Return
    • Break
    • Variable declaration and assignment
  • Nested blocks / statements

Interpreter:

  • Fault-tolerant parsing

Building

To build this project:

mkdir build && cd build
cmake .. && make
./jix your_file.jix

Todo features:

  • Builtin Hashtables
  • User-defined datatypes
  • Import statement

About

Interpreter for Jix, a dynamically typed programming language

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages