mike
1bc3c3a3d7
Update .gitlab-ci.yml
2017-12-10 14:15:35 +00:00
mike
6367ac9780
Update .gitlab-ci.yml
2017-12-10 13:34:44 +00:00
mike
ad51dcea3c
Update README.md
2017-12-10 13:33:09 +00:00
mike
34fd4b96b7
Update .gitlab-ci.yml
2017-12-09 23:01:53 +00:00
mike
24e18d3080
Update .gitlab-ci.yml
2017-12-09 22:57:41 +00:00
mike
bfb3d945fa
Update .gitlab-ci.yml
2017-12-09 22:55:27 +00:00
mike
52d8e1ea92
Update .gitlab-ci.yml
2017-12-09 22:46:59 +00:00
mike
15ae5a1c56
Add .gitlab-ci.yml
2017-12-09 22:42:37 +00:00
mike
0825d1ee96
Increase test coverage
2017-11-26 15:11:41 -05:00
mike
314053a9eb
Improve performance slightly
2017-11-26 11:04:53 -05:00
mike
10ff762647
Increment version
2017-11-24 11:11:22 -05:00
mike
5b9fdd5618
Complete tail call optimization
...
Resolves #2 and #3
2017-11-24 10:56:02 -05:00
mike
0fd3a70171
Perform TCO for AND & OR
2017-11-24 10:07:49 -05:00
mike
c4e6de88e1
Refactor unit tests
2017-11-23 11:35:28 -05:00
mike
f3923cadc0
Refactor list parsing code
2017-11-19 13:44:58 -05:00
mike
a8d8d6696c
LENGTH no longer creates a new instance
2017-11-19 11:17:32 -05:00
mike
1301e0a227
Rename variable for clarity
2017-11-19 10:58:13 -05:00
mike
0f00e35518
Refactor code
2017-11-19 10:54:51 -05:00
mike
1fbc74f3ac
Add ability to read large lists
2017-11-19 10:53:21 -05:00
mike
a9c13610a2
Perform TCO on numerous functions
2017-11-18 18:01:00 -05:00
mike
62b2653b2c
Allow for tail calls in recurse argument list
2017-11-18 14:54:53 -05:00
mike
eb80afb21d
Update lanterna version
2017-11-18 10:50:55 -05:00
mike
1995b23f42
Refactor code
2017-11-18 10:36:24 -05:00
mike
e0e726d6c0
Fix apply for macros
2017-11-18 10:21:57 -05:00
mike
aeb3074750
Restore scope properly after errors
2017-11-18 09:24:45 -05:00
mike
e2272fa976
Improve recur behavior
2017-11-17 19:14:59 -05:00
mike
6cf017734f
Narrow the behavior of RECUR
2017-11-17 17:57:14 -05:00
mike
b4229c6ac1
Implement RECUR
2017-11-16 20:53:55 -05:00
mike
cd551c5a1c
Reorder assertion arguments
2017-11-12 17:28:39 -05:00
mike
4ccdf9c959
Refactor tests to use modern assertions
2017-11-12 17:19:30 -05:00
mike
efb0329fda
Implement TCO for cons cell toString
2017-11-12 16:40:49 -05:00
mike
e8e9d2e12d
Update formatter settings
2017-11-12 13:46:15 -05:00
mike
6cd5fb66a4
Implement TCO for the length function
2017-11-12 13:27:04 -05:00
mike
7de348d759
Remove wildcard imports
2017-11-12 09:42:25 -05:00
mike
243f8a83ac
Add terminal history class
2017-04-04 07:56:35 -04:00
mike
2de2e3947a
Increase test coverage
...
Fixed an intermittent deadlock in MainTest:
FlushListener could receive more than the expected number of flushes
before the VirtualTerminalInteractor was given control. So by setting
the flush count to zero in waitForFlushes(), flushes could be lost. Now
it only reduces the number of flushes by the expected number.
2017-03-24 11:53:33 -04:00
mike
a8620307c9
Clean up code
2017-03-24 09:36:44 -04:00
mike
eb82a25f64
Increase test coverage
2017-03-24 09:29:19 -04:00
mike
111dd06d6f
Add unit tests
2017-03-23 18:48:37 -04:00
mike
52762a6152
Add and refactor unit tests
2017-03-23 16:14:26 -04:00
mike
23dd1c0654
Increase test coverage and refactor code
2017-03-23 12:14:44 -04:00
mike
79fb8b633b
Fix output interfering with input
...
Refactored some code
2017-03-22 15:26:00 -04:00
mike
228b4b1793
Refactor stream code and add unit tests
2017-03-22 14:08:22 -04:00
mike
b298e118e3
Add colors to the interactive interpreter
2017-03-22 11:26:53 -04:00
mike
058e937c3e
Refactor main interpreter code
...
Fixed several minor issues
Only print the last value when interpreting a file
Resolves #4
2017-03-21 15:03:16 -04:00
mike
5cb6212d2a
Fix terminal resize issues
2017-03-21 12:07:22 -04:00
mike
a8eff1ad70
Clean up terminal code
2017-03-21 09:25:40 -04:00
mike
cef7be6c25
Add comments to broken code
2017-03-19 17:32:44 -04:00
mike
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
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
072a432026
Hide cursor when printing output
2017-03-18 16:55:35 -04:00
mike
31ca72e534
Add a crude interactive terminal implementation
2017-03-18 16:49:46 -04:00
mike
462673ba64
Add line wrapping support to the terminal
2017-03-17 19:40:56 -04:00
mike
0388f71a8b
Add lanterna to the project
2017-03-15 13:52:20 -04:00
mike
a86832f9cb
Switch from ant to maven
2017-03-15 13:37:39 -04:00
mike
c2d722d5ab
Fix nested comma handling in a backquote
2017-03-12 14:18:37 -04:00
mike
e89a6f2dde
Add unit tests for the backquote facility
...
Renamed BackTick to Backquote globally.
2017-03-12 12:19:45 -04:00
mike
698305f07f
Add the backtick facility
...
Resolves #20
2017-03-11 15:41:07 -05:00
mike
9e15d55b4c
README.md edited online with Bitbucket
2017-03-07 14:57:13 +00:00
mike
31105b4299
README.md edited online with Bitbucket
2017-03-07 14:56:36 +00:00
mike
1acfad31ca
README.md edited online with Bitbucket
2017-03-07 13:47:05 +00:00
mike
416627896e
README.md edited online with Bitbucket
2017-03-06 14:33:47 +00:00
mike
8a719c8e44
Add unit test for LOAD
2017-03-05 10:41:49 -05:00
mike
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
c20bb682f2
Updated the compound interest script
2017-03-04 16:33:05 -05:00
mike
462e5ea15e
Built-in function names are now defined through annotations
2017-02-26 16:47:06 -05:00
mike
8fdaaeb23d
Removed duplicate code in SET and SETF
2017-02-26 13:01:47 -05:00
mike
49e145d098
Cleaned up some code
2017-02-26 12:39:08 -05:00
mike
e51d275b76
Started added unit tests for the interpreter and main packages
2017-02-26 12:31:27 -05:00
mike
1fed0433e5
Formatted a source file
2017-02-25 19:12:34 -05:00
mike
78c7bf4d9c
Added DEFINE-MACRO for user defined special functions (forms)
2017-02-25 19:11:31 -05:00
mike
4f4bc8f71a
Added special functions (forms) and refactored internal s-expression predicates
2017-02-25 17:29:37 -05:00
mike
b3ae5c9122
Added decorators for output text
2017-02-11 13:33:34 -05:00
mike
ce1547d71a
Formatted and cleaned some code
2017-02-11 10:51:37 -05:00
mike
6fa132313d
Refactored error severity
2017-02-11 10:42:07 -05:00
mike
bdcb2227c9
Removed RuntimeExceptions and associated logic
2017-02-09 12:09:51 -05:00
mike
1a25ddc35f
Refactored the lisp interpreter builder and some error handling
2017-02-09 11:00:23 -05:00
mike
c2a373dc85
Added the following built-ins: AND & OR
2017-02-05 16:00:56 -05:00
mike
a9a47be6cd
Allow DEFUN and LAMBDA with an empty body
2017-02-04 15:38:47 -05:00
mike
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
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
d3fc8f9812
Refactored the function table logic
2017-01-29 14:33:46 -05:00
mike
6ed24e85fe
Removed an unused import
2017-01-22 11:13:17 -05:00
mike
1f0d312e7e
Added unit tests for exit and symbol-function and refactored some code
2017-01-22 11:11:16 -05:00
mike
35ef281733
Refactored the built in function quote
2017-01-15 19:17:19 -05:00
mike
38db0862ff
Added unit tests and refactored the length built in function
2017-01-15 14:23:46 -05:00
mike
4b75b13485
Refactored the code for math functions
2017-01-15 13:50:28 -05:00
mike
0560c02093
Re-organized the built in function classes
2017-01-14 18:01:14 -05:00
mike
cdb32e3777
Added unit tests and refactored the code for the list function
2017-01-06 17:10:00 -05:00
mike
5cd037fc07
Added unit tests and refactored code
2017-01-05 18:00:21 -05:00
mike
d0da7813bd
Added more unit tests and refactored some built in functions
2016-12-29 13:32:45 -05:00
mike
4b0c4b44a7
Started conversion to BigInteger for numbers
2016-12-25 13:56:24 -05:00
mike
68510ec1a8
Started refactoring and writing unit tests for DEFUN
2016-12-25 13:29:06 -05:00
mike
37bc303fe8
Improved the argument list validation for COND
2016-12-25 12:49:18 -05:00
mike
eb9f224c60
Refactored the COND built-in function
2016-12-24 13:16:03 -05:00
mike
621ab9f2cb
Started a lisp script for running unit tests
2016-12-19 17:24:12 -05:00
mike
5f2c3dc469
Refactored the interpreter and updated the build file
2016-12-17 10:19:18 -05:00
mike
1596503936
Cleaned up the unit tests
2016-12-12 14:57:34 -05:00
mike
6b6f349c29
Added token classes and added unit tests
2016-12-12 10:15:20 -05:00
mike
c02ef37f64
Added unit tests, refactored some code, and removed IOException references
2016-12-11 15:09:48 -05:00