This is the project for the Compilers class
- Modify
bar.bnffile - Navigate to gocc directory
cd gocc - Run
gocc -a -v -p "github.com/uliseslugo/ilusa_pp/gocc" ../bar.bnf
- Run
go test -v(from root directory)
- ✅ Definition of tokens and diagrams
- ✅ Contex Free Grammar
- ✅ Implemented gocc
- ✅ Tables for Functions and Variables
- ✅ Semantic Considerations Cube
- ✅ Implemented Stack Structure
- ✅ IC to generate quadruples in arithmetic expressions
- ✅ IC to generate quadruples in logical and relational expressions
- ✅ IC to generate quadruples for print and assignments
- ✅ IC to generate quadruples for non linear statements (if,while)
- 🤔 IC to generate quadruples for return statement
- 🤔 IC for function definition
- 🤔 IC for function calling
- ✅ Virtual Memory Map for virtual machine
- ✅ Integrated virtual memory with quadruples
- ✅ Run-time memory map for virtual machine
- 🤔 Activation Records for function
- 🤔 Handle recursion in functions
- ✅ Create obj from quadruples
- ✅ Virtual machine actions (switch)
- 🤔 Implement Linked List for array indexing
- 🤔 IC for arrays
- 🤔 IC to generate quadruples in function calls
- 🤔 Memory handle for declared functions and variables
- 🤔 Update documentation and diagramas