furkanozev / gppinterpreter Goto Github PK
View Code? Open in Web Editor NEWGpp Interpreter using Common Lisp and Yacc Part1 -> Flex and Yacc Part2 -> Common Lisp
Gpp Interpreter using Common Lisp and Yacc Part1 -> Flex and Yacc Part2 -> Common Lisp
*********** PART 1 ******************* For compile and run: lex gpp_lexer.l => It will reproduce a lex.yy.c file. yacc -d gpp_parser.y gcc lex.yy.c y.tab.c -w ./a.out OR ./a.out If you want to terminate the program, you must enter: (exit) I did this part using regular expressions and syntax rules in accordance with homework pdf and g++ syntax pdf. *********** PART 2 ******************* For run: clisp gpp_parser.lisp After run program, You must choose between 2 selections. 1. (gppinterpreter) 2. (gppinterpreter "filename.g++") ! Please attention to the spaces when entering these (above) selections. For example ( gppinterpreter ) will give you error message. In the 1st selection, the program works as an interpreter. In the 2st selection, File will be loaded by the interpreter and interpreted right away. If you want to terminate the program, you must enter: ( exit ) I added execution images to related files. I created the test sample in the homework pdf as a file named "test.g++". I uploaded this file to the part folders.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.