Commit Graph
77 Commits
Author SHA1 Message Date
Meyer Simon 0114e1d65f emission for func dec 2025-05-05 20:18:23 -04:00
Meyer Simon 0446b0ae6b Added some notes and fixed the bp 2025-05-05 17:16:03 -04:00
Meyer Simon 3eddc04079 Merge branch 'IR-Bools' into Dev
No message
2025-05-04 17:49:18 -04:00
Meyer Simon 61cc807b8a I added some more backpatching and some more files for testing 2025-05-04 17:47:39 -04:00
Meyer Simon 4ae76d0341 I think it was broken so I fixed it 2025-05-04 17:47:38 -04:00
Meyer Simon 18b5daea0e It seems to be working but I need to ckeck again 2025-05-04 17:47:38 -04:00
Meyer Simon 468e3f67f7 I added some test files Looks good so far Need someone to spot check 2025-05-04 17:47:38 -04:00
Meyer Simon cd72d46ec3 I fixed the way we are doing the evaluation of == and < Getting to &&, || next. Not sure if ! is correct 2025-05-04 17:47:38 -04:00
Meyer Simon accb21c78a I added some more backpatching and some more files for testing 2025-05-04 17:43:08 -04:00
Meyer Simon 9d98b75bc0 I think it was broken so I fixed it 2025-05-04 14:30:04 -04:00
Meyer Simon 31bc69d52b It seems to be working but I need to ckeck again 2025-05-03 19:29:38 -04:00
Meyer Simon 4380d214bb I added some test files Looks good so far Need someone to spot check 2025-05-03 12:53:13 -04:00
Meyer Simon 2ed5372761 I fixed the way we are doing the evaluation of == and < Getting to &&, || next. Not sure if ! is correct 2025-05-03 12:52:23 -04:00
Meyer Simon 6434b7dfeb I merged IR-Linting to Dev 2025-05-02 13:39:58 -04:00
Meyer Simon 5b3de8cb02 Demo file choice 2025-05-02 13:15:10 -04:00
Meyer Simon a876d279d1 We did it 2025-05-02 13:14:41 -04:00
Meyer Simon b762127879 Fixed the else jump It was falling through 2025-05-02 12:02:07 -04:00
Meyer Simon 60ffb33c58 Function calls are being emitted with the right int for args 2025-05-01 21:15:58 -04:00
Meyer Simon 558c09e60f added some tests to help demonstrate Still need to verify the results but looks good for now 2025-05-01 20:56:25 -04:00
Meyer Simon 33347f3051 It works for if and while statments. Number of params not going well 2025-05-01 20:55:07 -04:00
Meyer Simon c2132ddd00 While list is backpatching 2025-05-01 16:43:00 -04:00
Meyer Simon 99dffaee01 It worksgit statusgit statusgit statusgit statusgit statusgit statusgit statusgit statusgit statusgit statusgit statusgit statusgit statusgit statusgit statusgit statusgit statusgit statusgit statusgit statusgit statusgit statusgit statusgit statusgit statusgit statusgit statusgit statusgit statusgit statusgit status! 2025-05-01 15:22:37 -04:00
Meyer Simon 456346f68e I added some code to push args but its not working 2025-05-01 11:12:58 -04:00
Meyer Simon 2b07464f84 Not working 2025-04-30 21:55:36 -04:00
Meyer Simon cd4393d052 I added some packpatching 2025-04-30 08:20:11 -04:00
Meyer Simon 4cc1ece6ab I added detach 2025-04-29 23:18:01 -04:00
Meyer Simon e45f0663f1 I made the IR compile 2025-04-29 22:40:32 -04:00
Meyer Simon b8f468c94a It seems that I had for gotten to fix one of the signatures 2025-04-17 11:14:38 -04:00
Meyer Simon f8010f463b latest version still not working #t51 2025-04-15 10:59:38 -04:00
Meyer Simon 1f0a2c189d Added the debug flags to make 2025-04-11 13:10:00 -04:00
Meyer Simon 7296a24c74 I added some code to help with constants but it's not working. 2025-04-11 12:51:14 -04:00
Meyer Simon 58b50ccb63 Added some of the implementation but not complete #t51 2025-04-04 18:06:01 -04:00
Meyer Simon f7d1d90856 Added body of some of the functions (not compiling) #t51 2025-04-04 04:43:36 -04:00
Meyer Simon 1c7cdbb4da Implemented the 2 operation functions #t51 2025-04-02 11:28:23 -04:00
Meyer Simon 6258a33e7b Merge branch 'Sprint3-IntermediateCodeFile-#t51' into Dev
Merging all the stubs so that the team can do there tasks for sprint 3
t#51
2025-04-01 12:54:41 -04:00
Meyer Simon 05b641a32e Added stubs for all emit funcs and added the 3 fields discussed in the library t#51 2025-04-01 12:53:31 -04:00
Meyer Simon 85faae010f Added the files for intermeadiat code gen #t51 2025-03-28 10:25:11 -04:00
Meyer Simon 24caa0e9a7 Updeated the contents of st to Dev #t51 2025-03-28 10:18:18 -04:00
Meyer Simon 666e0a4159 No change #t51 2025-03-27 17:28:16 -04:00
Meyer Simon 03be62dc19 Added structs enums and stubs #t51 2025-03-27 16:08:31 -04:00
Meyer Simon fd39afc9e0 Added the files to the repo #t51 2025-03-27 15:28:30 -04:00
Meyer Simon e8b0af1213 Fixed the spacing in the symbole table files t#NONE 2025-03-09 15:19:15 -04:00
Meyer Simon 072182dbbc Fixed spacing in the files t#NONE 2025-03-08 14:08:14 -05:00
Meyer Simon abd24760e0 Fixed and error in grammar.y t#36 2025-03-07 16:05:52 -05:00
Meyer Simon 06764ad9b3 Prec not working 2025-03-07 12:36:06 -05:00
Meyer Simon e32b8758b5 edited the test file llnode t#36 2025-03-06 21:40:02 -05:00
Meyer Simon 6fdccb3d8e fixed the spaceing t#34 2025-03-05 16:49:45 -05:00
Meyer Simon f99dfc9b54 Fixed some of the spacing and added a harder test t#36 2025-03-05 15:31:01 -05:00
Meyer Simon 32e123beb7 forgot to remove the comments 2025-02-28 12:21:36 -05:00
Meyer Simon d4b943b838 added an alpha file all on one line 2025-02-28 12:16:21 -05:00
Meyer Simon 77596a9d96 got it to workgit add grammar.ygit add grammar.ygit add grammar.ygit add grammar.ygit add grammar.ygit add grammar.ygit add grammar.y! t#34 2025-02-27 17:02:17 -05:00
Meyer Simon f355de059f added some test files nothing is working t#34 2025-02-27 16:12:19 -05:00
Meyer Simon c1191c888e fixed issues with the compilation process 2025-02-23 13:15:35 -05:00
Meyer Simon d6033e9168 Removed comments to make symbole table easyer to read. 2025-02-23 12:21:28 -05:00
Meyer Simon 9137b8f862 Merge branch 'Dev' into Sprint2-SymbolTableOperations-FE-t#29
I need to make sure that all the changes in dev will work with all the
changes in Sprint2-SymbolTableOperations-FE-t#29
2025-02-23 12:10:46 -05:00
Meyer Simon d790d5fdef Made some changes to the files t#29 2025-02-23 12:06:37 -05:00
Meyer Simon 6c72120785 added the prototypes for lookups to the h file t#29 2025-02-23 12:00:41 -05:00
Meyer Simon e86edb324b Fix the conflicts t#29 2025-02-21 16:26:37 -05:00
Meyer Simon fcb66c125d it looks like this should work. t#29 2025-02-21 14:30:14 -05:00
Meyer Simon ad5da96857 Made spelling errors t#29 2025-02-21 11:47:20 -05:00
Meyer Simon dbcdafb1a0 fixed some of the spacing in the table t#29 2025-02-21 10:09:26 -05:00
Meyer Simon 4468dbd02f Fixed some functionality in symbol_table and added print_symbole_table t#29 2025-02-21 09:32:06 -05:00
Meyer Simon 4e22726d5b added .gitignore t#09 2025-02-18 16:01:30 -05:00
Meyer Simon 910760661e Lexer is ready just added some test files t#09 2025-02-13 21:11:03 -05:00
Meyer Simon 9e7a70f901 merged task t#09 2025-02-13 19:20:21 -05:00
Meyer Simon 431ab607c4 Tested the functionality, seems to work. t#09 2025-02-12 20:48:56 -05:00
Meyer Simon 99c62758f6 Added code to lexer to recognize the groupings/punct's t#09 2025-02-12 16:12:33 -05:00
Meyer Simon c13f76f365 Added tests for grouping t#09 2025-02-12 15:22:59 -05:00
Meyer Simon 5abc36c00c Carl told me that we will be treating string as an ID so I removed it. t#07 2025-02-11 16:30:25 -05:00
Meyer Simon bfa79fe7be finished my assignment and added the line number and column number functionality to my file. t#07 2025-02-11 16:26:30 -05:00
Meyer Simon 1701904c08 Fixed some of the spacing in the lexer for debugging t#07 2025-02-10 12:54:08 -05:00
Meyer Simon 200307291c Removed garbage files 2025-02-07 16:48:12 -05:00
Meyer Simon 78c743736c Added the keywards and types t#01 2025-02-07 14:34:37 -05:00
Meyer Simon 340e5adcce Fixed some of the indentation in the Makefile 2025-02-04 15:56:09 -05:00
Meyer Simon 092f4b7103 Merge remote-tracking branch 'refs/remotes/origin/main' 2025-02-04 15:53:51 -05:00
Meyer Simon 50ec8c1f65 Added some boiler plate to the .lex file 2025-02-04 15:52:07 -05:00
Meyer Simon d782e55bd6 Adding the standard token constants to the typedefs.h, this is basickly taken from the alpha language specification page 5 and made into #define's for the c compiler 2025-02-04 15:20:42 -05:00