Visual and command line compiler of latte language to x86_64 GAS assembly.
Install nodejs, Package Manager (npm) and tar:
#Fedora/CentOS
$ sudo yum install nodejs npm tar
#OSX
$ brew install node
Update npm:
#Fedora/CentOS
$ sudo npm install -g npm
#OSX
$ npm install -g npm
Install project node dependencies locally:
#From project root
$ npm install
Exec Makefile:
#From project root
$ make
#From project root
$ ./latc_x86_64 codefile.lat #generates codefile.s and executable codefile
Install bower and gulp globally:
#Fedora/CentOS
$ sudo npm install -g gulp bower
#OSX
$ npm install -g gulp bower
Install project bower dependencies locally:
#From project root
$ bower install
Run browsersync server
#From project root
$ gulp serve
###Used libraries
The solution uses jison - bison port to javascript - for generating parser and lexer from the src/syntax.json
file.
The front end is built using angular framework with semantic-ui css modules and code mirror js code editor.
Cool, awesome and inspiring animated favicon is made with little help of favico.js.
###Implemented latte elements
- core
- arrays
- structs
- objects
- object with virtual methods
- registers allocations
- garbage collecting