Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/accreator/VSCI

Very Simple C Interpreter
https://github.com/accreator/VSCI

Last synced: 3 months ago
JSON representation

Very Simple C Interpreter

Lists

README

        

# VSCI
Very Simple C Interpreter (VSCI) is an interpreter for simplified C. VSCI is designed to achieve easier and more flexible software configuration.

Currently, VSCI supports the following features:

* if else while break continue return
* float int void
* / + - % & ^ ~ | << >> ,
* > < >= <= == != && || !
* = ( ) , ; { } [ ]
* *(only 1-dim array is supported; VLA is supported)*

Try the following:

#For Windows
gcc vsci.c -o vsci.exe
vsci test/test8.c

#For Linux/Mac/BSD
gcc vsci.c -o vsci
./vsci test/test8.c

It will output the square root of 2

Kai Sun