| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Implement object definition with 'obj' keyword | jantuomi | 2016-08-29 | 16 | -33/+171 |
| | | |||||
| * | Add MissingTerminatorTokenError | jantuomi | 2016-08-08 | 3 | -7/+33 |
| | | | | | If the token stack doesn't have a terminator token for all variable argument tokens, throw an error. | ||||
| * | Handle input and output differently on Windows and other systems | Jan Tuomi | 2016-08-06 | 1 | -12/+72 |
| | | | | | | Create IOHandler interface Create classes WindowsIOHandler and StandardIOHandler that implement IOHandler | ||||
| * | Fix bug where calling methods of objects would not actually call the function | Jan Tuomi | 2016-08-06 | 4 | -23/+11 |
| | | |||||
| * | Create 'io' module | Jan Tuomi | 2016-08-06 | 3 | -9/+29 |
| | | | | | | Move 'input' and 'output' builtins to said module Rename wrongly named power builtin to 'pow' | ||||
| * | 'output' function should use 'toString' from the Datatype class | Jan Tuomi | 2016-08-06 | 1 | -1/+1 |
| | | |||||
| * | Major overhaul of function type checking, allow static and dynamic as well ↵ | jantuomi | 2016-08-05 | 24 | -80/+344 |
| | | | | | | | as variadic argument lists Split 'Function' class into abstract superclass 'Function' and child classes 'UserDefinedFunction' and 'BuiltinFunction' | ||||
| * | Make 'output' function utilize IO printLine | jantuomi | 2016-08-05 | 4 | -4/+14 |
| | | |||||
| * | Fix bug where function parameters were evaluated twice | jantuomi | 2016-08-05 | 1 | -2/+2 |
| | | |||||
| * | Create IO utility class for input and output wrappers | jantuomi | 2016-08-04 | 3 | -16/+49 |
| | | |||||
| * | Rename 'func' to '@', 'as' to '|' and 'end' to '!' to make syntax more terse | jantuomi | 2016-08-04 | 8 | -21/+16 |
| | | |||||
| * | Store functions as symbols in the scope | jantuomi | 2016-08-04 | 23 | -178/+64 |
| | | | | | Functions no longer know their own name because they are essentially lambdas assigned to variables | ||||
| * | Remove if keyword and create if builtin function | jantuomi | 2016-08-04 | 6 | -61/+48 |
| | | |||||
| * | Add ObjectDatatype and implement object member lookup | jantuomi | 2016-08-04 | 8 | -13/+134 |
| | | | | | | Various error fixes Resolves #14 | ||||
| * | Add ObjectMember operator (:) token and node | jantuomi | 2016-08-03 | 5 | -1/+46 |
| | | | | | References #14 | ||||
| * | Add ObjectMember token type | jantuomi | 2016-08-03 | 2 | -21/+3 |
| | | | | | Code cleanup in Token and Tokenizer | ||||
| * | Fix regex for scandinavian characters | jantuomi | 2016-08-03 | 1 | -2/+2 |
| | | |||||
| * | Add support for scandinavian characters in symbols | jantuomi | 2016-08-03 | 1 | -2/+2 |
| | | | | | Resolves #12 | ||||
| * | Insert line information to errors thrown during function calls | jantuomi | 2016-08-03 | 2 | -2/+8 |
| | | |||||
| * | Throw FileNotFoundError from include function if module can't be found | jantuomi | 2016-08-03 | 2 | -3/+4 |
| | | |||||
| * | Add FileNotFoundError, OutOfBoundsError, RecursiveIncludeError | jantuomi | 2016-08-03 | 8 | -13/+75 |
| | | | | | Change several GeneralError throws to utilize new error types | ||||
| * | Change TypeError message | jantuomi | 2016-08-03 | 1 | -1/+1 |
| | | |||||
| * | Change "Malformed syntax tree" error to SyntaxError | jantuomi | 2016-08-03 | 3 | -3/+3 |
| | | | | | | Remove dead code Change SyntaxError message | ||||
| * | Cleanup TunkkiError class | jantuomi | 2016-08-03 | 1 | -9/+0 |
| | | |||||
| * | Refactor TunkkiError to subclasses | Jan Tuomi | 2016-08-02 | 75 | -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 error | Jan Tuomi | 2016-08-02 | 2 | -2/+12 |
| | | |||||
| * | Extend 'include' to also use builtin modules | jantuomi | 2016-08-02 | 8 | -56/+155 |
| | | | | | | | Add math builtin module Add power builtin function Fix IncludeError text to mention modules | ||||
| * | Fix error in DoubleDatatype caused by floating point problems | jantuomi | 2016-08-01 | 4 | -8/+17 |
| | | |||||
| * | Implement 'as_bool' builtin | jantuomi | 2016-08-01 | 5 | -51/+100 |
| | | |||||
| * | Implement 'contains' for string datatype | jantuomi | 2016-08-01 | 1 | -2/+22 |
| | | |||||
| * | Move tokenizer package under parser package | jantuomi | 2016-08-01 | 59 | -96/+81 |
| | | |||||
| * | Read project version from file in root directory | jantuomi | 2016-08-01 | 2 | -1/+27 |
| | | | | | The version file is called 'VERSION' and contains only the version info in one line. | ||||
| * | Move builtin functions to 'global' package | jantuomi | 2016-08-01 | 12 | -15/+12 |
| | | |||||
| * | Rename debug mode to AST mode for clarity | jantuomi | 2016-08-01 | 2 | -9/+6 |
| | | |||||
| * | Add multiline input to REPL | jantuomi | 2016-08-01 | 3 | -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 #13 | Jan Tuomi | 2016-07-31 | 5 | -64/+148 |
| | | | | | Add command history and welcome message | ||||
| * | Add 'eq' builtin and comparison functionality for datatypes | Jan Tuomi | 2016-07-31 | 12 | -1/+128 |
| | | |||||
| * | Fix bug where 'dset' was not recognized as a keyword | Jan Tuomi | 2016-07-30 | 3 | -4/+5 |
| | | |||||
| * | Add slight delay to repl to fix exception output | Jan Tuomi | 2016-07-30 | 1 | -1/+2 |
| | | |||||
| * | Function references are now correctly first class citizens | Jan Tuomi | 2016-07-30 | 9 | -20/+131 |
| | | | | | Resolves #7 | ||||
| * | Add nada datatype, resolves #11 | jantuomi | 2016-07-29 | 4 | -3/+55 |
| | | |||||
| * | Rename DataContainer to Datatype | jantuomi | 2016-07-29 | 42 | -427/+422 |
| | | |||||
| * | Add missing files to previous commit | jantuomi | 2016-07-28 | 2 | -0/+35 |
| | | |||||
| * | Add 'dset' keyword | jantuomi | 2016-07-28 | 7 | -7/+54 |
| | | |||||
| * | Add more line number information | jantuomi | 2016-07-28 | 4 | -8/+6 |
| | | |||||
| * | Add line number information to certain errors | jantuomi | 2016-07-28 | 2 | -3/+25 |
| | | |||||
| * | Handle some error cases | jantuomi | 2016-07-28 | 7 | -19/+53 |
| | | |||||
| * | Add builtins to the pool in their individual constructors | jantuomi | 2016-07-28 | 5 | -15/+34 |
| | | | | | Implement toString for lists of DataContainers | ||||
| * | Implement get builtin function | jantuomi | 2016-07-28 | 2 | -0/+50 |
| | | | | | Get returns an element of a list at a given index | ||||
| * | Implement contains function for checking if element is in a list. | jantuomi | 2016-07-27 | 2 | -0/+45 |
| | | |||||
