Commit Graph

32 Commits

Author SHA1 Message Date
Mann Patel
031e7e4a92 Assignment-2 Setup 2025-10-10 12:57:07 -06:00
Mann Patel
9ceac201a3 update final 2025-09-28 00:06:11 -06:00
Mann Patel
586db088b4 Tool Setup 2025-09-27 23:11:10 -06:00
Mann Patel
2fa2e0a575 Update: ExprParser 2025-09-27 23:07:32 -06:00
Nicolas Amaya
719447b9b0 File cleand up from unused code or TODO's 2025-09-27 22:51:41 -06:00
Nicolas Amaya
d6faf4356b working version <3 2025-09-27 19:55:27 -06:00
Mann Patel
54b9164f23 update fix few bugs 2025-09-27 17:07:46 -06:00
Mann Patel
73de7d74aa Delete main.java 2025-09-27 16:57:42 -06:00
Nicolas Amaya
6882d77cd7 undo for some files I deleted 2025-09-27 15:55:38 -06:00
Nicolas Amaya
4addbee422 Revert "cleanup parser for only required rules"
This reverts commit eccf1fa914.
2025-09-27 15:52:36 -06:00
Nicolas Amaya
eccf1fa914 cleanup parser for only required rules 2025-09-27 15:47:51 -06:00
Nicolas Amaya
9e858a98f3 removed part of the grammar for performance 2025-09-27 14:11:33 -06:00
Nicolas Amaya
be8499f7fe grammar completed V1, still needs testing 2025-09-27 13:28:28 -06:00
Mann Patel
c9f6667df5 added the antlr.jar file 2025-09-27 12:44:17 -06:00
Mann Patel
61da0168ef Delete ExprParser.g4 2025-09-27 12:39:45 -06:00
Nicolas Amaya
18dde2cb7f lil test 2025-09-27 00:06:03 -06:00
30206444
0863f71997 Merge branch 'main' of github.com:Patel-Mann/CPSC-499 2025-09-26 23:52:58 -06:00
30206444
a92583782c Grammar almost complete! 2025-09-26 23:52:51 -06:00
Mann Patel
b6d5e913ec Deprecated : This code is no longer supported 2025-09-26 22:00:50 -06:00
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