Commit Graph

53 Commits

Author SHA1 Message Date
Mike Cifelli 60e348449b Move resource folders 2018-03-17 14:19:19 -04:00
Mike Cifelli 76cd2b919a Handle dotted list in length function 2018-03-15 18:30:47 -04:00
Mike Cifelli ac365918b2 Implement append built in function 2018-03-14 20:32:01 -04:00
Mike Cifelli 0290855403 Add global eval function 2018-02-12 18:36:15 -05:00
Mike Cifelli 62f351ec62 Add function for displaying execution context
- Use lambda character in addition to keyword
2018-02-11 14:17:49 -05:00
Mike Cifelli 737502c4de Stop array from creating global symbol 2018-02-10 12:27:23 -05:00
Mike Cifelli 76b1f987a2 Move array functions out of global scope 2018-02-04 09:47:25 -05:00
Mike Cifelli c33d8e5d38 Convert array to a list by default 2018-02-04 09:36:37 -05:00
Mike Cifelli 3e24991be8 Create a direct access array 2018-01-28 09:55:23 -05:00
Mike Cifelli 99ae99a8ab Create symbols dynamically 2018-01-27 20:02:03 -05:00
Mike Cifelli ff60d0d3da Add MAP and FLAT-MAP functions 2018-01-24 20:28:29 -05:00
Mike Cifelli 568fce3c11 Load lisp language files automatically 2018-01-21 10:32:55 -05:00
Mike Cifelli 314053a9eb Improve performance slightly 2017-11-26 11:04:53 -05:00
Mike Cifelli 0fd3a70171 Perform TCO for AND & OR 2017-11-24 10:07:49 -05:00
Mike Cifelli 1fbc74f3ac Add ability to read large lists 2017-11-19 10:53:21 -05:00
Mike Cifelli a9c13610a2 Perform TCO on numerous functions 2017-11-18 18:01:00 -05:00
Mike Cifelli 62b2653b2c Allow for tail calls in recurse argument list 2017-11-18 14:54:53 -05:00
Mike Cifelli 6cf017734f Narrow the behavior of RECUR 2017-11-17 17:57:14 -05:00
Mike Cifelli efb0329fda Implement TCO for cons cell toString 2017-11-12 16:40:49 -05:00
Mike Cifelli 6cd5fb66a4 Implement TCO for the length function 2017-11-12 13:27:04 -05:00
omicron 3ebd5d49a9 Update files for eclipse oxygen 2017-11-12 08:37:39 -05:00
Mike Cifelli a21114ac7c Add a GENSYM-EQUAL function for unit testing macros
Some macro definitions were refactored along with their associated
unit tests.
2017-03-13 14:43:31 -04:00
Mike Cifelli b2d6f21f88 Add tests for macros 2017-03-13 10:15:05 -04:00
Mike Cifelli 655f49e612 Add DEFMACRO special function
Resolves #16
2017-03-10 15:08:42 -05:00
Mike Cifelli 8aa00fea27 Add a dynamic data structure example 2017-03-09 14:14:54 -05:00
Mike Cifelli d423fe9958 Convert the lisp unit tester into a class 2017-03-09 11:19:15 -05:00
Mike Cifelli b47abbaad5 Give assert a better failure message 2017-03-08 14:48:40 -05:00
Mike Cifelli c596d6868d Refactor some lisp code and tests 2017-03-08 11:14:44 -05:00
Mike Cifelli 87eb0204f5 Remove SETF function 2017-03-07 16:41:26 -05:00
Mike Cifelli 6cf45219f1 Refactor some lisp code 2017-03-07 16:27:11 -05:00
Mike Cifelli d1060a8aad Add aliases for several functions 2017-03-07 13:15:40 -05:00
Mike Cifelli e9fead08c2 Add function to interest-compounder 2017-03-07 11:37:27 -05:00
Mike Cifelli 77a341a1a7 Add more advanced lisp objects
Added a class to compute compound interest.

An alias for FUNCALL has been added: CALL

Refactored some acceptance tests to load code from files.
2017-03-06 16:52:06 -05:00
Mike Cifelli aa13394548 Add ability to run acceptance tests on files 2017-03-06 12:44:06 -05:00
Mike Cifelli e1c544f0ea Re-organize the lisp files 2017-03-06 11:00:18 -05:00
Mike Cifelli c20bb682f2 Updated the compound interest script 2017-03-04 16:33:05 -05:00
Mike Cifelli 311a3b4036 Cleaned up code and tests 2017-03-03 15:06:49 -05:00
Mike Cifelli 1f1586d53c More class examples and script unit tests were added. 2017-03-03 11:56:27 -05:00
Mike Cifelli 4a91d197fd Expanded dlambda example some more 2017-03-02 14:26:47 -05:00
Mike Cifelli ef4c03a672 Expanded dlambda example 2017-03-02 10:29:59 -05:00
Mike Cifelli 49fee52284 An example class has been added 2017-03-01 16:45:48 -05:00
Mike Cifelli ba203d34b9 dlambda was converted for multiple method classes
Added several unit tests, including a failing one for CASE
Added an acceptance test for dlambda
2017-03-01 16:33:06 -05:00
Mike Cifelli 50a3f3be67 Resolves #6 - PROGN Special Function (Form) 2017-02-27 15:36:17 -05:00
Mike Cifelli fb35884479 Resolves #7 - Allow prefixing of numbers 2017-02-27 13:34:04 -05:00
Mike Cifelli bf40feadec User defined functions now set up their scope correctly 2017-02-27 12:00:24 -05:00
Mike Cifelli 35550c46ac Updates to the unit test framework 2017-02-15 09:29:57 -05:00
Mike Cifelli fa45434228 Added a tail recursive compound interest function 2017-02-14 16:55:48 -05:00
Mike Cifelli f76c587338 A lisp function to compute compound interest and unit tests 2017-02-14 15:24:38 -05:00
Mike Cifelli c2a373dc85 Added the following built-ins: AND & OR 2017-02-05 16:00:56 -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