jacobgarcia / syntactic-analyzer Goto Github PK
View Code? Open in Web Editor NEWDifferent grammar rules were developed with the purpose of simulate the behaviour of a syntactic analyzer for Tiny C, a subset of the C language
Different grammar rules were developed with the purpose of simulate the behaviour of a syntactic analyzer for Tiny C, a subset of the C language
Syntactic Analyzer For Tiny C Copyright © 2014 Mario J. García ========================================= ========================================= + IMPORTANT + ========================================= The implementation using a dynamic structure can be found in: github.com/JacobGarcia/SyntacticAnalyzer (branch DEV). Consider that the DEV version does not print the type of variable in the symbols table ========================================= + USEFUL NOTES + ========================================= The source code, version changes, and more information about the project can be found in: github.com/JacobGarcia/SyntacticAnalyzer (branch MASTER) ========================================= + CONTRIBUTORS + ========================================= Mario Jacob García Navarro - A01363206 ========================================= + IMPLEMENTATION PROCESS + ========================================= Different grammar rules were developed with the purpose of simulate the behaviour of a syntactic analyzer for Tiny C, a subset of the C language ----------------------------------------- IMPORTANT CONSIDERATIONS ----------------------------------------- Take account that this only is a lexical and syntactic analyzer for a (Tiny) C program. Therefore, if the input program by any means is not valid or has invalid semantic definitions, the analyzer will ignore them. ========================================= + HOW TO BUILD THE EXECUTABLE + ========================================= ------------------------------------------ make ------------------------------------------ When the build is executed, the c program file must be passed as an argument: NOTE: Consider for the next command that the test file must be in the same folder. If that were not the case, then add the file address. ----------------------------------------- /.scanner < test.c ----------------------------------------- ----------------------------------------- ADDITIONAL NOTES ----------------------------------------- The -y flag for the Bison program basically overrides the file name when it's generated. Leaving it simple as "y". The -d flag instead, creates a header file which can be included in the Flex source file.
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.