Commit Graph

23 Commits

Author SHA1 Message Date
ooo fbc801e8f9 Chunk changes:
- NEP #1 naming convention
- Changed enum to pure
2020-10-16 14:31:28 +02:00
nocturn9x 9b34ab28c0 Added missing bitwise AND, OR and NOT operators. Yes, function calls are still broken 2020-09-29 17:32:42 +02:00
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 cedb3bc44b Added bitwise operators 2020-08-30 12:35:37 +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 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 50d171de83 Added support for break (thanks dictu) 2020-08-20 22:51:56 +02:00
nocturn9x 9552a1f04f Made the repl exit gracefully after Ctrl+C 2020-08-19 18:15:48 +02:00
nocturn9x faf5e6149b Fixed numerous bugs with improper statements in the parser 2020-08-19 14:19:01 +02:00
nocturn9x a9f35d2134 Fixed various bugs (scoping, parsing) and added if/else constructs 2020-08-19 12:40:01 +02:00
nocturn9x ad769ffbaf Added local scoping support 2020-08-17 08:17:27 +02:00
nocturn9x 7e40894047 Added support for the del statement 2020-08-15 11:38:36 +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 b708340183 Added support for mutually exclusive slice conditions, started to work on the global scope 2020-08-15 08:52:58 +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 cc1b41e7ed Added comparison operators and logical not 2020-08-13 23:39:26 +02:00
nocturn9x 8ed20c0275 Added support for booleans and fixed a couple bugs 2020-08-13 17:53:23 +02:00
nocturn9x e4791ef027 Added double-precision floating point numbers and integers. Implemented the 4 fundamental operations, modulo division and exponentiation 2020-08-10 10:48:21 +02:00
nocturn9x c4baf9b7bf Started to wire up the VM with the lexer and the parser/compiler 2020-08-08 16:19:44 +02:00
nocturn9x ee9444a3bf Added support for OP_CONSTANT_LONG 2020-08-07 19:38:52 +02:00
nocturn9x ab6cb16e42 Working on the bytecode VM 2020-08-07 17:11:06 +02:00