Commit graph

25 commits

Author SHA1 Message Date
Ayrton 1c91f6ac86 Generation errors fixed or gracefully handled 2023-11-24 15:45:38 -07:00
ayrton ddc3875f56 Tried to deal with strange printing and created a problem
Took 1 hour 25 minutes
2023-11-24 09:31:18 -07:00
ayrton 5f6b7ab53b Added all atomic types
Took 38 minutes
2023-11-24 07:33:30 -07:00
ayrton 8cfbd08708 Added documentation for various generation functions
Took 33 minutes
2023-11-24 06:55:12 -07:00
Ayrton e2be922455 Fixed documentation for unary ops 2023-11-24 06:31:39 -07:00
Ayrton 5ea6eca0ba Fixed tests to account for unarys
- Refactored expressions
2023-11-23 13:40:20 -07:00
Ayrton 3dca7092fa Refactored the generate_expression method 2023-11-23 13:21:43 -07:00
Ayrton eba774dd05 Modified routine generation codestyle 2023-11-23 13:11:46 -07:00
Ayrton e0cd416435 Refactored generate_return 2023-11-23 13:01:13 -07:00
Ayrton 7380a89082 Modified code style in ast_generator initializations 2023-11-23 12:51:13 -07:00
ayrton 9ceb0b18be Fixed generation of declarations late in blocks
Took 37 minutes
2023-11-23 08:36:02 -07:00
ayrton 1da53dba48 Fixed common generation errors
- Loops are now bound on the number of iterations by max-loop-iterations
- Names now get removed from the list of possible names when used
- Overflow errors in arithmetic are handled gracefully

Took 1 hour 13 minutes
2023-11-22 13:50:56 -07:00
ayrton 4d8609c38e Added correct comparisons and implemented all basic types
Took 27 minutes
2023-11-21 23:03:12 -07:00
ayrton 09010a4789 fixed bool ops to be in spec
Took 53 minutes
2023-11-21 22:34:24 -07:00
ayrton fb36aef06e Refactor and bugfix for integer division
Took 54 minutes
2023-11-21 21:39:04 -07:00
ayrton 561a9a5efa Added Brackets
Took 1 hour 13 minutes
2023-11-21 20:40:50 -07:00
ayrton 1e22f5a968 Added option to use english words as variable names
Took 15 minutes
2023-11-21 15:38:39 -07:00
ayrton d211131c4e IT'S ALIIIIIIIIVE
Took 1 hour 15 minutes
2023-11-20 20:28:55 -07:00
Ayrton 05c8f92683 Added tests 2023-11-20 18:52:14 -07:00
ayrton 4ee1770092 Fixed error that when assignments fail they still leave their tag
Took 39 minutes
2023-11-19 16:52:14 -07:00
ayrton 5e5d6aeba9 Fixed generation bug where no op would be generated
Took 54 minutes
2023-11-19 16:13:08 -07:00
ayrton ac146b4595 MVP setup and (sort of) working
Took 1 hour 58 minutes
2023-11-18 20:13:15 -07:00
ayrton f911c05e3d Refactoring of the ast_parser class
Took 48 minutes
2023-11-18 12:21:52 -07:00
ayrton 839ec97166 Complete overhaul of the generation methods
Took 6 hours 24 minutes
2023-11-18 10:59:00 -07:00
ayrton 2182395310 Initial Commit 2023-11-17 16:57:53 -07:00