Commit Graph

25 Commits

Author SHA1 Message Date
nocturn9x 42e6970e16 Added more operations on nan and inf types. Added bitwise operators (last commit), function calls need fix 2020-09-01 18:09:36 +02:00
nocturn9x 556a130172 Added support for default arguments in functions and related error checking. Made the error reporting nicer and more consistent across the runtime 2020-08-30 10:36:13 +02:00
nocturn9x 4a1fc8df6d Fixed bugs with some corner cases in binary operations with strings and completed the shift towards manually allocated objects. Started to work on callframes and functions 2020-08-27 18:15:45 +02:00
nocturn9x 633c0f67f6 Moved common objects to a separate module 2020-08-26 11:41:39 +02:00
nocturn9x 458c7ab77e Fixed strings allocation (for real this time) 2020-08-25 11:10:14 +02:00
nocturn9x f0a5f9d3c7 Now strings are truly manually allocated 2020-08-25 10:24:50 +02:00
nocturn9x 49551d817d Added data structures WIP (not working yet) 2020-08-24 11:25:53 +02:00
nocturn9x 59e79dddae Removed binary file 2020-08-24 09:00:40 +02:00
nocturn9x f882581e7b Fixed bugs in the memory template and attempt to fix the arraylist 2020-08-24 09:00:23 +02:00
nocturn9x ff0ec33991 Strings are now implemented in terms of an array of char and are no longer garbage collected by nim automatically 2020-08-23 23:48:38 +02:00
nocturn9x 92e91f2c17 Removed binary file 2020-08-23 16:13:28 +02:00
nocturn9x 3e5c86f1a1 Have to fix weird string type issues 2020-08-23 16:12:54 +02:00
nocturn9x 01b7c6e6a2 Completely revised the object structure, need to fix compiler (nim) crash issue 2020-08-23 12:10:08 +02:00
nocturn9x ea471678ae Breaking changes, starting to work on a new GC 2020-08-21 19:10:33 +02:00
nocturn9x e76534f8f2 Empty strings are now falsey 2020-08-20 14:30:00 +02:00
nocturn9x 9552a1f04f Made the repl exit gracefully after Ctrl+C 2020-08-19 18:15:48 +02:00
nocturn9x 5667691669 Implemented globals setters and getters, also made the repl friendlier and fixed some minor bugs with strings multiplication 2020-08-15 11:27:04 +02:00
nocturn9x cbe8272ecc Added support for string slicing and integer implicit cinversions with comparison operators 2020-08-14 10:02:13 +02:00
nocturn9x b8ea713312 Added support for string literals and related operations 2020-08-14 08:25:05 +02:00
nocturn9x cc1b41e7ed Added comparison operators and logical not 2020-08-13 23:39:26 +02:00
nocturn9x 22e35b9a46 Fixed minor bug in the interpreter 2020-08-10 18:39:53 +02:00
nocturn9x ab6cb16e42 Working on the bytecode VM 2020-08-07 17:11:06 +02:00
nocturn9x 76eb517d98 Redefined directory structure and partially reviewed lexer.nim 2020-08-06 17:28:28 +02:00
nocturn9x 5caac38b8b Added support for list literals 2020-08-06 14:51:50 +02:00
nocturn9x 586cd9418d Refactored directories and fixed visibility of lex() procedure in lexer.nim 2020-08-06 00:28:32 +02:00