Commit Graph

329 Commits

Author SHA1 Message Date
Mike Cifelli 38710e21bf Improve terminal performance 2017-03-20 11:18:36 -04:00
Mike Cifelli cef7be6c25 Add comments to broken code 2017-03-19 17:32:44 -04:00
Mike Cifelli ad173d06a9 Fix issues when input pushes past end of buffer
A few issues still remain:

- Inserting text pushes the remainder of the input to a new line
  at the end of the buffer.

- Resizing the terminal height causes numerous issues.
2017-03-19 17:17:34 -04:00
Mike Cifelli 38ab1144fb Clean up terminal code and unit tests
The terminal unit tests were updated so that they don't rely on an
arbitrary delay.
2017-03-19 12:54:35 -04:00
Mike Cifelli 072a432026 Hide cursor when printing output 2017-03-18 16:55:35 -04:00
Mike Cifelli 31ca72e534 Add a crude interactive terminal implementation 2017-03-18 16:49:46 -04:00
Mike Cifelli 462673ba64 Add line wrapping support to the terminal 2017-03-17 19:40:56 -04:00
Mike Cifelli ac349c94cb Fix problems with FitNesse 2017-03-17 16:17:44 -04:00
Mike Cifelli c533b7c1d9 Start experimenting with lanterna 2017-03-17 16:07:25 -04:00
Mike Cifelli 0388f71a8b Add lanterna to the project 2017-03-15 13:52:20 -04:00
Mike Cifelli a86832f9cb Switch from ant to maven 2017-03-15 13:37:39 -04: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 f2a481952d Add @Override annotations and clean up code 2017-03-13 09:58:30 -04:00
Mike Cifelli c2d722d5ab Fix nested comma handling in a backquote 2017-03-12 14:18:37 -04:00
Mike Cifelli e89a6f2dde Add unit tests for the backquote facility
Renamed BackTick to Backquote globally.
2017-03-12 12:19:45 -04:00
Mike Cifelli 698305f07f Add the backtick facility
Resolves #20
2017-03-11 15:41:07 -05:00
Mike Cifelli 655f49e612 Add DEFMACRO special function
Resolves #16
2017-03-10 15:08:42 -05:00
Mike Cifelli 16b9a4dd30 Add a simple GENSYM function
Resolves #18
2017-03-10 13:19:09 -05:00
Mike Cifelli e78e18df98 Add a simple GENSYM function 2017-03-10 13:14:16 -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 736e230de9 Add LET* special function 2017-03-07 13:26:24 -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 5f10396af8 Use function alias in validation messages
Resolves #9
2017-03-07 10:59:51 -05:00
Mike Cifelli 368f22a02b Rename the project 2017-03-07 10:20:22 -05:00
Mike Cifelli 9e15d55b4c README.md edited online with Bitbucket 2017-03-07 14:57:13 +00:00
Mike Cifelli 31105b4299 README.md edited online with Bitbucket 2017-03-07 14:56:36 +00:00
Mike Cifelli 1acfad31ca README.md edited online with Bitbucket 2017-03-07 13:47:05 +00: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 416627896e README.md edited online with Bitbucket 2017-03-06 14:33:47 +00:00
Mike Cifelli 8a719c8e44 Add unit test for LOAD 2017-03-05 10:41:49 -05:00
Mike Cifelli 04cb46e94d Store the base directory for an interpreted files
A bug was resolved where some functions were getting a null
ErrorManager.

A reset funtion was added to RuntimeEnvironment.

Resolves #15
2017-03-05 10:20:31 -05:00
Mike Cifelli c20bb682f2 Updated the compound interest script 2017-03-04 16:33:05 -05:00
Mike Cifelli 946af24514 Minor cleanup of LIST 2017-03-03 15:57:16 -05:00
Mike Cifelli 311a3b4036 Cleaned up code and tests 2017-03-03 15:06:49 -05:00
Mike Cifelli 503b19a5e1 Resolves #14 - Load now keeps track of directories 2017-03-03 12:56:06 -05:00
Mike Cifelli ba53448c9d Exception checking unit tests were refactored 2017-03-03 12:07:23 -05:00
Mike Cifelli 1f1586d53c More class examples and script unit tests were added. 2017-03-03 11:56:27 -05:00
Mike Cifelli 010dfb48bc The running directory for FitNesse has been updated 2017-03-03 09:24:18 -05:00
Mike Cifelli 86def27f5c Acceptance tests have been refactored 2017-03-02 16:36:23 -05:00
Mike Cifelli 0eb8db36a8 Acceptance tests now run with JUnit 2017-03-02 15:26:21 -05:00
Mike Cifelli 4a91d197fd Expanded dlambda example some more 2017-03-02 14:26:47 -05:00