Brandon Rozek
|
cf0a90dda1
|
Added vectors into the syntax of the language
|
2018-10-01 17:15:59 -04:00 |
|
Brandon Rozek
|
034a97e3ab
|
Fixed up the compiler warning of destructor and reuse one of the Value*'s during operations to conserve memory.
|
2018-10-01 13:22:33 -04:00 |
|
Brandon Rozek
|
efc49584ee
|
Started using unique_ptr
Nodes and variables now contain unique references to Values
|
2018-10-01 00:08:24 -04:00 |
|
Brandon Rozek
|
423233bfb1
|
Now return copy of values when accessing values from nodes or variables
|
2018-09-30 22:31:22 -04:00 |
|
Brandon Rozek
|
cdbafe8d0d
|
Made numeric types vector based
|
2018-09-29 12:23:36 -04:00 |
|
Brandon Rozek
|
d740cc17af
|
Made toString functions and overloaded the stream operator
|
2018-09-28 22:49:26 -04:00 |
|
Brandon Rozek
|
8dd2e789c0
|
struct->classes
Environment now has destructor
|
2018-09-28 21:54:24 -04:00 |
|
Brandon Rozek
|
7d044f5698
|
Fixed error with lambda functions not parsing correctly
|
2018-09-28 15:28:31 -04:00 |
|
Brandon Rozek
|
33bb265d27
|
Replaced ints with uints and added comments indicating where I'll want delete statements in the future.
|
2018-09-28 14:11:58 -04:00 |
|
Brandon Rozek
|
9a727aa83b
|
Delete node now is replaced by deconstructor
|
2018-09-28 13:33:11 -04:00 |
|
Brandon Rozek
|
f0fc180319
|
fprintf/printf changed to cout/cerr
|
2018-09-28 12:32:36 -04:00 |
|
Brandon Rozek
|
6022898e2b
|
Replaced make_node with a Node constructor
|
2018-09-28 12:05:06 -04:00 |
|
Brandon Rozek
|
4c2afd779d
|
Replaced create_environment with constructor
|
2018-09-28 09:59:04 -04:00 |
|
Brandon Rozek
|
bd66b4ad11
|
Fixed spacing and set initial nullptr values
|
2018-09-27 23:34:06 -04:00 |
|
Brandon Rozek
|
f8f7829cb6
|
Used a stl array for nodes for better maintanability
|
2018-09-27 22:37:21 -04:00 |
|
Brandon Rozek
|
53575d25f9
|
Converted NULL to nullptr
Converted fprintf to cout/cerr
Removed as much C dependencies as possible
|
2018-09-26 20:03:54 -04:00 |
|
Brandon Rozek
|
3cdf1f439c
|
Changed extensions from C style to C++ style
|
2018-09-26 19:28:55 -04:00 |
|
Brandon Rozek
|
e8e4baabb6
|
Took out remaining char* and removed mallocs
|
2018-09-26 19:16:59 -04:00 |
|
Brandon Rozek
|
65f50a159b
|
Commented out the third node value since it's currently unused in eval_expression
|
2018-09-26 17:54:44 -04:00 |
|
Brandon Rozek
|
f11a422819
|
Replaced char* with string in node functionality
|
2018-09-26 17:51:17 -04:00 |
|
Brandon Rozek
|
24e3003c00
|
Converted project to C++
|
2018-09-26 16:44:22 -04:00 |
|
Brandon Rozek
|
aa7e348552
|
Casted pointers to correct type and seperated out the LAMBDATAG and LAMBDA constants
|
2018-09-26 15:56:36 -04:00 |
|
Brandon Rozek
|
28e2352eac
|
Added string support to SLOTH (comparisons, string concatenation, etc)
Refactored print_value code
|
2018-09-26 15:43:08 -04:00 |
|
Brandon Rozek
|
8c7571bef4
|
Modularized programming language code. Code is no longer in several large files :)
|
2018-09-25 22:37:05 -04:00 |
|