https://github.com/accreator/VSCI
Very Simple C Interpreter
https://github.com/accreator/VSCI
Last synced: 5 months ago
JSON representation
Very Simple C Interpreter
- Host: GitHub
- URL: https://github.com/accreator/VSCI
- Owner: accreator
- License: bsd-2-clause
- Created: 2015-01-23T13:07:28.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2015-01-30T09:25:12.000Z (about 10 years ago)
- Last Synced: 2024-08-03T18:15:12.156Z (9 months ago)
- Language: C
- Homepage: http://www.aiexp.info
- Size: 254 KB
- Stars: 19
- Watchers: 5
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- AwesomeInterpreter - VSCI
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.cIt will output the square root of 2
Kai Sun