Commit Graph

227 Commits

Author SHA1 Message Date
Mike Cifelli 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
Mike Cifelli 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
Mike Cifelli db2817f7be Refactored the symbol table code 2017-01-30 16:12:38 -05:00
Mike Cifelli d3fc8f9812 Refactored the function table logic 2017-01-29 14:33:46 -05:00
Mike Cifelli 5351168763 Started refactoring UserDefinedFunction 2017-01-27 16:19:09 -05:00
Mike Cifelli 27fdc7b328 Added unit tests and refactored lambda 2017-01-27 14:31:41 -05:00
Mike Cifelli 79648cd96f Added unit tests and refactored defun 2017-01-27 12:12:27 -05:00
Mike Cifelli 5fd22b310f Simplified some predicate unit tests 2017-01-27 11:37:11 -05:00
Mike Cifelli fe880e1a02 Refactored tests to put the expected and actual values in the correct positions 2017-01-27 10:51:25 -05:00
Mike Cifelli 32db0b2520 Minor code formatting 2017-01-26 16:00:47 -05:00
Mike Cifelli 25f73e6d2e Added unit tests and refactored the load function 2017-01-26 15:58:15 -05:00
Mike Cifelli 919644d9c0 Added unit tests and refactored setf 2017-01-26 12:30:38 -05:00
Mike Cifelli 6ed24e85fe Removed an unused import 2017-01-22 11:13:17 -05:00
Mike Cifelli 1f0d312e7e Added unit tests for exit and symbol-function and refactored some code 2017-01-22 11:11:16 -05:00
Mike Cifelli ea8acd423f Refactored some code and added unit tests 2017-01-18 16:25:09 -05:00
Mike Cifelli b700b714f3 Minor update to the Environment class 2017-01-17 15:54:09 -05:00
Mike Cifelli a4cb521c7d Introduced global abstractions of input, output, and termination 2017-01-17 13:54:21 -05:00
Mike Cifelli 217c215efe Started major refactoring of several built in functions 2017-01-16 13:38:49 -05:00
Mike Cifelli 35ef281733 Refactored the built in function quote 2017-01-15 19:17:19 -05:00
Mike Cifelli 38db0862ff Added unit tests and refactored the length built in function 2017-01-15 14:23:46 -05:00
Mike Cifelli 4b75b13485 Refactored the code for math functions 2017-01-15 13:50:28 -05:00
Mike Cifelli 0560c02093 Re-organized the built in function classes 2017-01-14 18:01:14 -05:00
Mike Cifelli 9a85cb62df Added missing testcase for new LispNumber constant 2017-01-13 14:10:13 -05:00
Mike Cifelli ba59b2a8cf Added more unit tests and refactored the code for several built in functions 2017-01-13 14:05:33 -05:00
Mike Cifelli e543de6f12 Refactored and added unit tests for listp 2017-01-13 12:52:05 -05:00
Mike Cifelli cdb32e3777 Added unit tests and refactored the code for the list function 2017-01-06 17:10:00 -05:00
Mike Cifelli 5cd037fc07 Added unit tests and refactored code 2017-01-05 18:00:21 -05:00
Mike Cifelli 3cb9d89616 Refactored more code and added unit tests for the built in functions 2017-01-04 13:57:16 -05:00
Mike Cifelli 9f80fc9abe Added unit tests and refactored the equal function 2016-12-30 10:22:25 -05:00
Mike Cifelli d0da7813bd Added more unit tests and refactored some built in functions 2016-12-29 13:32:45 -05:00
Mike Cifelli 4b0c4b44a7 Started conversion to BigInteger for numbers 2016-12-25 13:56:24 -05:00
Mike Cifelli 68510ec1a8 Started refactoring and writing unit tests for DEFUN 2016-12-25 13:29:06 -05:00
Mike Cifelli 37bc303fe8 Improved the argument list validation for COND 2016-12-25 12:49:18 -05:00
Mike Cifelli eb9f224c60 Refactored the COND built-in function 2016-12-24 13:16:03 -05:00
Mike Cifelli a0583f808c Added more unit tests for the built-in functions 2016-12-23 10:53:11 -05:00
Mike Cifelli 7de7996a27 Added function to the argument validator and refactored some code 2016-12-22 16:55:25 -05:00
Mike Cifelli 9bea0e6533 Started writing tests for the builtin functions 2016-12-22 10:32:48 -05:00
Mike Cifelli 715de2f220 Cleaned up some import statements 2016-12-21 14:42:45 -05:00
Mike Cifelli c4531b25e2 Added unit tests and did some refactoring 2016-12-20 12:03:37 -05:00
Mike Cifelli 621ab9f2cb Started a lisp script for running unit tests 2016-12-19 17:24:12 -05:00
Mike Cifelli f925993093 Added unit tests 2016-12-19 13:29:31 -05:00
Mike Cifelli 089e3bd520 Refactored the eval package 2016-12-19 13:05:53 -05:00
Mike Cifelli fbd2b3207c Added an argument validator and unit tests 2016-12-19 11:38:14 -05:00
Mike Cifelli 5f2c3dc469 Refactored the interpreter and updated the build file 2016-12-17 10:19:18 -05:00
Mike Cifelli 064f905045 Performed some minor code cleanup 2016-12-16 14:15:29 -05:00
Mike Cifelli 6f4a319dab Refactored some of the exception classes. 2016-12-16 14:00:34 -05:00
Mike Cifelli a137e41a14 Cleaned up the ErrorManager and associated unit tests 2016-12-16 13:12:13 -05:00
Mike Cifelli 25c0b5813b Refactored the ErrorManager and added unit tests 2016-12-16 12:31:16 -05:00
Mike Cifelli 60a7eb562c Refactored some code and added unit tests 2016-12-16 11:26:53 -05:00
Mike Cifelli 62a509eb4b Minor cleaning in the eval pacakge, added unit tests for the sexpression package 2016-12-15 15:33:48 -05:00