Commit Graph
23 Commits
Author SHA1 Message Date
Francesco Cozzuto 411388755f major restructuring 2023-01-20 20:52:20 +01:00
Francesco Cozzuto 0980cc193d changed error reporting function interface 2023-01-20 01:22:20 +01:00
Francesco Cozzuto 9cc7121cd9 new built-in getCurrentScriptDirectory; new cli option syntax; added -p option to profile programs and -H to set heap size; fixed a bug in string.cat 2023-01-19 20:14:23 +01:00
Francesco Cozzuto 74a1648af8 utility functions for implementing noja functions in c; built-ins for socket management; http server draft in noja 2023-01-15 00:51:36 +01:00
cozis f7d28556a1 new -> operator 2022-12-08 03:01:04 +01:00
cozis b114387728 example http parser 2022-12-07 23:48:16 +01:00
cozis 98374ee491 refactoring of the instruction table; removed unused instructions PUSHTYPTYP and ERROR; new modulo operator %; new examples fibonacci.noja and isprime.noja 2022-12-07 18:31:35 +01:00
cozis a92e8a71cc bug fix 2022-12-06 23:58:13 +01:00
cozis 8f2723c3aa added "any" type 2022-12-05 17:02:13 +01:00
cozis ea428fdca2 added sum types 2022-12-05 11:36:19 +01:00
cozis 7a07a1eb3c implemented nullable type notation 2022-12-04 18:39:42 +01:00
Francesco Cozzuto d610a973f4 cleaning up 2022-08-24 18:01:32 +02:00
Francesco Cozzuto cd74dda4a9 general cleanups. Removed lots of unused code and redundant error checks 2022-08-24 16:46:32 +02:00
cozis 782985e8b7 reorganized build-ins and implement a circular queue as an example 2022-08-18 19:01:26 +02:00
cozis 6ba7fd21ef modified C api for native functions 2022-08-17 04:33:00 +02:00
cozis 919bc6fcbd fixed compiler warnings for release builds 2022-08-16 22:45:46 +02:00
cozis 0e94f644ab moved utility functions in src/lib/utils 2022-08-16 21:48:59 +02:00
cozis 3209afb513 cleanups 2022-08-16 18:54:49 +02:00
cozis 0a090c4cfa first draft of import builtin function 2022-08-16 17:35:58 +02:00
cozis d9fd452b8b implemented default arguments 2022-08-15 19:33:46 +02:00
cozis 6bd60bc84a added argument type annotations and runtime checks. To do that new opcodes were created (PUSHTYP, PUSHTYPTYP, ERROR) 2022-08-14 16:25:47 +02:00
cozis bc516f470a new built-in variables for each type 2022-08-14 13:04:53 +02:00
cozis 18e936f0ad cleanups and more test cases 2022-08-12 05:30:41 +02:00