Commit Graph
268 Commits
Author SHA1 Message Date
cozis bc516f470a new built-in variables for each type 2022-08-14 13:04:53 +02:00
cozis d24877c5f3 made and and or operators short circuits 2022-08-13 23:37:22 +02:00
cozis 8565722bab deleted unused files 2022-08-13 20:08:42 +02:00
cozis ed02bbc9be refactorin' (incapsulated CodegenContext from codegen.c) 2022-08-13 17:42:37 +02:00
cozis 1ee68745a6 renamed compile() to codegen() and created new compile() that transforms a Source to an Executable directily 2022-08-13 15:42:34 +02:00
cozis ed62aa8a58 cleaned up bytecode generation code 2022-08-13 14:46:22 +02:00
cozis e064195f6d fixed compiler errors 2022-08-12 17:45:24 +02:00
cozis 29397402d2 cleanups in codegen code 2022-08-12 17:41:25 +02:00
cozis 5342501a15 removed compilation artifact and added ignore rule for it 2022-08-12 05:33:30 +02:00
cozis 18e936f0ad cleanups and more test cases 2022-08-12 05:30:41 +02:00
cozis f630830b3c new testing infrastructure and basic test suite 2022-08-12 02:26:40 +02:00
cozis 2f87e46beb bubblesort example in bytecode 2022-08-11 22:31:26 +02:00
cozis 36ffc24b9a minor updated in the readme 2022-08-11 19:33:40 +02:00
cozis 9c64635bdb removed makefile logs used to debug 2022-08-11 19:29:19 +02:00
cozis f25d78538b makefile supports multiple build modes. Deleted old shell build script 2022-08-11 19:26:03 +02:00
cozis cf11a1c6b3 removed old compilation artifacts 2022-08-11 18:25:11 +02:00
cozis 385e0145b8 new ignore rule for compilation artifacts and makefile rule for installation 2022-08-11 18:18:40 +02:00
cozis c3d4479e97 updated makefile. Now the noja interpreter is build as a library and then linked to the cli 2022-08-11 17:57:56 +02:00
cozis f8cd57da43 the interpreter implementation is now hidden behing the src/libnoja/noja.h facade. Also I wrote a disassembler that lets you build noja executables by specifying the bytecode directly in a text format 2022-08-11 16:26:56 +02:00
cozis 784914c7e6 changed the fuzzing script to use the makefile 2022-05-21 23:01:51 +02:00
cozis 5194a9082e minor formatting changes 2022-05-21 22:59:13 +02:00
Francesco CozzutoandGitHub 3db8f8e93a Merge pull request #9 from Alessandro-Salerno/main
Switched from a shell script to a makefile
2022-05-21 22:51:17 +02:00
tzyvoski 191938548f Removed useless target 2022-05-21 22:47:07 +02:00
tzyvoski 803bbe7c58 Merge branch 'main' of https://github.com/Alessandro-Salerno/Noja into main 2022-05-21 22:09:10 +02:00
tzyvoski 87dac3f05e I'm stupid 2022-05-21 22:09:02 +02:00
Alessandro SalernoandGitHub 1a4cb9ef25 Update README.md 2022-05-21 21:30:00 +02:00
tzyvoski a557db0de2 More comments 2022-05-21 21:28:59 +02:00
tzyvoski 6866bba871 More makefile fixes 2022-05-21 21:27:54 +02:00
tzyvoski ff80901115 Added fuzz I guess 2022-05-21 21:19:02 +02:00
tzyvoski f5bafa5946 Makefile updates 2022-05-21 21:07:29 +02:00
tzyvoski fb8306798a More spacing fixes 2022-05-21 20:55:42 +02:00
tzyvoski dbab0cc0e5 Comments 2022-05-21 20:48:10 +02:00
tzyvoski 27c4833987 Shorter Makefile 2022-05-21 20:44:58 +02:00
tzyvoski 6f739fab89 Fixed warning 2022-05-21 20:23:43 +02:00
tzyvoski da616f03fe Created Makefile 2022-05-21 20:21:11 +02:00
Francesco Cozzuto fdf5bdc267 bug fix 2022-04-15 19:17:42 +02:00
Francesco Cozzuto 3117e7339e bug fix. Didn't check for division by zero 2022-04-15 19:02:52 +02:00
Francesco Cozzuto 99b47fc824 parsing bug fix 2022-04-15 18:56:09 +02:00
Francesco Cozzuto e60dfbd92a enhanced build script, added script that starts fuzz testing using afl and one to test coverage 2022-04-15 18:54:39 +02:00
Francesco Cozzuto ab3848c8cc fixed clang warnings 2022-04-15 16:28:45 +02:00
Francesco Cozzuto 9f825673c3 the language's heap doesn't grow anymore during a collection. Instead the collection throws an error to the runtime 2022-04-15 16:21:10 +02:00
cozis f8fdf7d0df bug fix 2022-04-06 23:49:39 +02:00
cozis 13f80915c7 bug fix 2022-04-06 13:40:55 +02:00
cozis ed63f09b57 added tuples and multiple return values 2022-04-06 13:22:31 +02:00
cozis 866648ed16 typo 2022-04-04 00:44:06 +02:00
Francesco CozzutoandGitHub 1a0aaed2dd Merge pull request #7 from JustJ3di/main
Added new built in function
2022-04-04 00:44:14 +02:00
HermanandGitHub 45d3a88703 Update basic.c 2022-04-04 00:43:35 +02:00
cozis d26c285aa5 script that triggers a bug 2022-04-04 00:31:12 +02:00
HermanandGitHub c1d689654a Update basic.c 2022-04-04 00:21:58 +02:00
cozis 07137b50c6 new curly bracket coding convention 2022-04-04 00:07:33 +02:00