Commit Graph

13 Commits

Author SHA1 Message Date
30206444
65bb1f8018 Updates on Grammar to match Antlr syntax 2025-09-26 19:21:46 -06:00
30206444
ee4a037373 Added:
1. Primitive Types
2. Array support
3. name/identifiers
4. Expressions AND OR XOR
2025-09-25 23:45:24 -06:00
30206444
852ba6c5e9 Merge branch 'main' of github.com:Patel-Mann/CPSC-499 2025-09-25 23:38:37 -06:00
30206444
8e6e68f327 Updated one letter from 'O' to 'o'. 2025-09-25 23:37:01 -06:00
Mandeep Moun
107c519f02 Seprate syntactic grammar started 2025-09-25 23:06:20 -06:00
Mandeep Moun
184793f0e2 Create ExprSyntactic.g4 2025-09-25 21:49:56 -06:00
Mann Patel
65822c9502 update main.java
Example Code to test our parser on
2025-09-24 18:57:24 -06:00
Mann Patel
ddc469da07 Bug: self-referencing grammer fixed
fixed self referencing grammer fixed and also connected the two file ,parser and grammer. initial parser code added
2025-09-24 18:43:46 -06:00
Mandeep Moun
a746021ce0 Update lexerA1.g4
Added 'assert' keyword.
2025-09-21 20:10:43 -06:00
Mandeep Moun
ef7e2865f2 Lexical gramr 95%
Almost complete, maybe need to add small things. Need to clarify some things with professor and update accorodingly.
2025-09-21 00:43:00 -06:00
Mandeep Moun
bc6c1027af Added Lexemes
Wrote some literals and keywords.
2025-09-19 23:25:40 -06:00
Mandeep Moun
e75d3e5797 created files
Added lexer.g4 and syntatic.g4 grammar files
2025-09-19 21:25:34 -06:00
Mandeep Moun
56b06cc1a9 Initial commit 2025-09-19 21:05:19 -06:00