Commit graph

24 commits

Author SHA1 Message Date
685194d457 Removed the ends of line from the comments regex 2019-05-06 16:35:53 -05:00
98b720fdac Implemented comments, finished program 4 2019-05-04 23:22:13 -05:00
6a305f83c7 Moved all programs in fort to a new folder, finished program2 2019-05-04 23:01:29 -05:00
c7d211f0b5 Fixed issue with do statements with counter where artihmetic expressions couldn't be used as conditions only contants or variables, created the program 1 2019-05-04 22:31:21 -05:00
34d4697aa9 Stopped using indirect pointer and refactored to temporals 2019-05-04 00:57:49 -05:00
1234b8ddcd Finished the language 2019-04-30 09:54:10 -05:00
7698c84dcc Preliminary code for execution 2019-04-29 17:56:14 -05:00
240f1c1255 Created a unique pointer for every multi dimensional variable, added support for print statements 2019-04-28 04:52:42 -05:00
3bb50c40e1 Change not operand to save the result in temp variable 2019-04-25 04:11:50 -05:00
94146e3185 Added support form arbitrary arithmetic expressions as indices for multi dimension access 2019-04-25 00:42:17 -05:00
f9dfb4be5a Added support for multi dimensional variables 2019-04-24 22:10:01 -05:00
8495205cd9 Added translation actions for do statements with counters, updated the test2.fort file to use this feature 2019-04-22 16:02:27 -05:00
5755fd5582 Fixed gitignore adn formatting 2019-04-22 14:47:49 -05:00
1be80bcbd3 Added translation for do statements with exit 2019-04-12 14:08:28 -05:00
304873e6ca Added translation for if-elif-else statements 2019-04-12 07:23:32 +00:00
d7ebaa26ad Added method to fill goto statements 2019-04-12 05:55:09 +00:00
2833e9595d Finished translation for Arithmetic and Logic operations 2019-04-12 04:12:35 +00:00
e2a3920ef0 Added package for type checking, added type checking for Arithmetic operations 2019-04-12 01:00:45 +00:00
a64bd11a78 Added necessary stacks for translation 2019-04-11 23:46:23 +00:00
743ea07796 Made the symbols dictonary a dic of dics, added the direction field to it 2019-04-11 21:49:18 +00:00
92b679e13c Added tranlation action for assignation 2019-04-05 03:23:41 +00:00
81a2de075c Added translation actions for Arithmetic expressions 2019-04-05 03:09:08 +00:00
5dfc8d2483 Created symbols tables 2019-04-04 23:05:36 +00:00
c4183d66d5 Renamed the main file to fort.py and added the ability to specify the program to parse as a comman line argument 2019-04-04 21:54:17 +00:00
Renamed from final_lang/lex_yacc.py (Browse further)