aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Add ObjectMember token typejantuomi2016-08-032-21/+3
| | | | Code cleanup in Token and Tokenizer
* Fix regex for scandinavian charactersjantuomi2016-08-031-2/+2
|
* Add support for scandinavian characters in symbolsjantuomi2016-08-031-2/+2
| | | | Resolves #12
* Insert line information to errors thrown during function callsjantuomi2016-08-032-2/+8
|
* Throw FileNotFoundError from include function if module can't be foundjantuomi2016-08-032-3/+4
|
* Add FileNotFoundError, OutOfBoundsError, RecursiveIncludeErrorjantuomi2016-08-038-13/+75
| | | | Change several GeneralError throws to utilize new error types
* Change TypeError messagejantuomi2016-08-031-1/+1
|
* Change "Malformed syntax tree" error to SyntaxErrorjantuomi2016-08-033-3/+3
| | | | | Remove dead code Change SyntaxError message
* Cleanup TunkkiError classjantuomi2016-08-031-9/+0
|
* Refactor TunkkiError to subclassesJan Tuomi2016-08-0275-205/+422
| | | | | Make TunkkiError abstract and create a subclass for all error types Change all TunkkiError throws to throw subclasses instead
* Add division by zero errorJan Tuomi2016-08-022-2/+12
|
* Extend 'include' to also use builtin modulesjantuomi2016-08-028-56/+155
| | | | | | Add math builtin module Add power builtin function Fix IncludeError text to mention modules
* Fix error in DoubleDatatype caused by floating point problemsjantuomi2016-08-014-8/+17
|
* Implement 'as_bool' builtinjantuomi2016-08-015-51/+100
|
* Implement 'contains' for string datatypejantuomi2016-08-011-2/+22
|
* Move tokenizer package under parser packagejantuomi2016-08-0159-96/+81
|
* Read project version from file in root directoryjantuomi2016-08-012-1/+27
| | | | The version file is called 'VERSION' and contains only the version info in one line.
* Move builtin functions to 'global' packagejantuomi2016-08-0112-15/+12
|
* Rename debug mode to AST mode for clarityjantuomi2016-08-012-9/+6
|
* Add multiline input to REPLjantuomi2016-08-013-12/+42
| | | | | | | | Fix bug where REPL input is echoed back Fix bug where an exclamation point would cause a JLine event exception Input can now be continued on the next line with a '\' character at the end of the line. The character will be disregarded as whitespace in the parser. Resolves #13
* Implement enhanced REPL, relates to #13Jan Tuomi2016-07-315-64/+148
| | | | Add command history and welcome message
* Add 'eq' builtin and comparison functionality for datatypesJan Tuomi2016-07-3112-1/+128
|
* Fix bug where 'dset' was not recognized as a keywordJan Tuomi2016-07-303-4/+5
|
* Add slight delay to repl to fix exception outputJan Tuomi2016-07-301-1/+2
|
* Function references are now correctly first class citizensJan Tuomi2016-07-309-20/+131
| | | | Resolves #7
* Add nada datatype, resolves #11jantuomi2016-07-294-3/+55
|
* Rename DataContainer to Datatypejantuomi2016-07-2942-427/+422
|
* Add missing files to previous commitjantuomi2016-07-282-0/+35
|
* Add 'dset' keywordjantuomi2016-07-287-7/+54
|
* Add more line number informationjantuomi2016-07-284-8/+6
|
* Add line number information to certain errorsjantuomi2016-07-282-3/+25
|
* Handle some error casesjantuomi2016-07-287-19/+53
|
* Add builtins to the pool in their individual constructorsjantuomi2016-07-285-15/+34
| | | | Implement toString for lists of DataContainers
* Implement get builtin functionjantuomi2016-07-282-0/+50
| | | | Get returns an element of a list at a given index
* Implement contains function for checking if element is in a list.jantuomi2016-07-272-0/+45
|
* Add list builtin function for instantiating list variables. Implement list ↵jantuomi2016-07-273-7/+42
| | | | addition.
* Add ListDataContainerjantuomi2016-07-272-0/+51
|
* Fix include functionjantuomi2016-07-271-1/+2
|
* Function calls are now made with call marker '?' and terminator token '!'.Jan Tuomi2016-07-2611-80/+81
|
* Rename BorkError to TunkkiErrorJan Tuomi2016-07-2648-126/+126
|
* Rename builtins out and in to output and inputJan Tuomi2016-07-263-8/+8
|
* Rename project to tunkkiJan Tuomi2016-07-2681-305/+393
|
* Restructure classesJan Tuomi2016-07-2646-121/+122
|
* Restructure project for use with mavenJan Tuomi2016-07-2679-0/+3251