Commit Graph

24 Commits

Author SHA1 Message Date
42191ec69d Parts of CASE and COND were refactored
Updated the terminology used in the code
Added test cases
Changed the format of error/warning messages
2017-02-28 16:16:43 -05:00
4253145383 A few test cases were added for CASE 2017-02-28 15:07:37 -05:00
05f75b627b Resolves #11 - The CASE special function has been added
Refactored some unit tests
2017-02-28 15:01:05 -05:00
50a3f3be67 Resolves #6 - PROGN Special Function (Form) 2017-02-27 15:36:17 -05:00
bf40feadec User defined functions now set up their scope correctly 2017-02-27 12:00:24 -05:00
1fed0433e5 Formatted a source file 2017-02-25 19:12:34 -05:00
78c7bf4d9c Added DEFINE-MACRO for user defined special functions (forms) 2017-02-25 19:11:31 -05:00
0c3d3ae024 Resolves #1 - Added the IF Special Form 2017-02-21 12:35:47 -05:00
b3ae5c9122 Added decorators for output text 2017-02-11 13:33:34 -05:00
ce1547d71a Formatted and cleaned some code 2017-02-11 10:51:37 -05:00
6fa132313d Refactored error severity 2017-02-11 10:42:07 -05:00
913fd031c6 Only allow a single interpreter to be built
Renamed Environment to RuntimeEnvironment
2017-02-06 13:39:05 -05:00
4719e14d7f Added unit tests for the FunctionTable and ExecutionContext 2017-02-06 12:02:19 -05:00
c2a373dc85 Added the following built-ins: AND & OR 2017-02-05 16:00:56 -05:00
a9a47be6cd Allow DEFUN and LAMBDA with an empty body 2017-02-04 15:38:47 -05:00
0a5228d5a7 Update argument validation and added unit tests
Fixed some bugs in LET and LAMBDA

Refactored the code in UserDefinedFunction
2017-02-04 13:51:10 -05:00
d7ca5d09da Added unit tests and refactored the let form
Wrote a lisp program to calculate the number of bi-weekly paydays in a year
2017-02-04 12:03:31 -05:00
db2817f7be Refactored the symbol table code 2017-01-30 16:12:38 -05:00
27fdc7b328 Added unit tests and refactored lambda 2017-01-27 14:31:41 -05:00
79648cd96f Added unit tests and refactored defun 2017-01-27 12:12:27 -05:00
fe880e1a02 Refactored tests to put the expected and actual values in the correct positions 2017-01-27 10:51:25 -05:00
919644d9c0 Added unit tests and refactored setf 2017-01-26 12:30:38 -05:00
217c215efe Started major refactoring of several built in functions 2017-01-16 13:38:49 -05:00
0560c02093 Re-organized the built in function classes 2017-01-14 18:01:14 -05:00