masyagin1998 / GCI

Interpreter of tiny JavaScript-like object-oriented language with garbage collector

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GCI

GCI is a tiny JavaScript-like object-oriented language

It's main features are:

  • Strong dynamic typing;
  • Objects and arrays;

Tech

This is GCI interpreter. It consists of:

  • Object-oriented lexer;
  • Top-down parser;
  • Bytecode generator;
  • Stack-based VM;
  • Cheney's GC;

Installation

GCI requires only C89-compatible compiler and MAKE utility to run.

$ git clone https://github.com/masyagin1998/GCI.git
$ cd GCI
$ make
$ make tests
$ ./bin/interpreter -i data/input.js

About

Interpreter of tiny JavaScript-like object-oriented language with garbage collector

License:MIT License


Languages

Language:C 93.8%Language:JavaScript 2.8%Language:Makefile 2.0%Language:C++ 1.4%