Commit Graph

  • 99489dfeb6 fix error message master r4 2021-12-30 18:10:08 +0100
  • e7da8dfe38 make put all frees after set_err r4 2021-12-30 18:07:59 +0100
  • f6b74f8f97 add generic arrays r4 2021-12-30 17:59:28 +0100
  • 6f91a71306 fix memory leak + add function to convert to string r4 2021-12-29 22:15:56 +0100
  • 4d5cd93354 implement basic RAII-ish array management r4 2021-12-29 21:42:43 +0100
  • 7773cc6c14 change IR stream to linked list r4 2021-12-29 13:27:58 +0100
  • 45feb3fe1d improve Windows detection r4 2021-12-28 18:03:52 +0100
  • ba8d2f0702 add nilptrs, more conversion functions and change how ptrs work r4 2021-12-28 17:53:27 +0100
  • befce544e7 move type enum out of struct r4 2021-12-28 13:55:01 +0100
  • 0d5313a063 fix invalid memory access r4 2021-12-28 13:39:59 +0100
  • 22f71d7e56 add pointers, variable arguments and void functions r4 2021-12-28 13:39:12 +0100
  • a706ea6a3f disallow use of declared variable in declaration expression r4 2021-12-28 12:11:04 +0100
  • 0b2741f73f allow newline-padding of one-line if and else bodies r4 2021-12-26 19:23:42 +0100
  • cda56d5b9c allow for one-line if and else bodies without {} r4 2021-12-26 19:18:52 +0100
  • 46e7487cad remove expression parser code redundancy r4 2021-12-26 15:06:33 +0100
  • 18d6e7b7df add 'not equal' operator r4 2021-12-26 12:19:54 +0100
  • 1f47b5e16c fix float precision loss bug r4 2021-12-26 11:59:01 +0100
  • dfe1ac90e8 add getln() function and calculator example r4 2021-12-26 11:36:52 +0100
  • d8b470f0eb rename print() to putln() r4 2021-12-26 10:55:31 +0100
  • cf93109f1e IR optimization r4 2021-12-25 23:01:18 +0100
  • 850dafbbc9 move preprocessor args into CPPFLAGS r4 2021-12-25 22:32:16 +0100
  • 803368a264 remove unnecessary include r4 2021-12-25 14:10:53 +0100
  • b4c369e1d9 add sleep() function and improve Windows support r4 2021-12-25 14:06:20 +0100
  • dd67a1bf5d reorganize examples r4 2021-12-25 12:45:27 +0100
  • b58810e822 better error messages r4 2021-12-25 12:32:52 +0100
  • f02dae603d unify printing + add basic strings r4 2021-12-25 12:16:06 +0100
  • 92c4c5c991 Merge branch 'master' of https://git.nobrain.org/r4/lang r4 2021-12-23 22:26:55 +0100
  • 9bd4d4e0c4 support for builtin functions with 0 args r4 2021-12-23 22:25:41 +0100
  • bb75b78a36 Update 'README.md' r4 2021-12-23 22:05:43 +0100
  • ca232fbf6a add mandelbrot example r4 2021-12-23 21:44:59 +0100
  • 6bdc4e3210 add logical or and logical and r4 2021-12-23 21:42:09 +0100
  • d67008cfbf add char literals r4 2021-12-23 21:26:53 +0100
  • a0842424ec print not in IR r4 2021-12-23 21:08:01 +0100
  • 84785dc3cf add boolean logic r4 2021-12-23 21:06:49 +0100
  • d185396a1c rename arith to binary r4 2021-12-23 20:10:02 +0100
  • 97e8e32ebc add if and else, and fix nested loops (hopefully) r4 2021-12-23 19:58:00 +0100
  • ef63742015 reduce mallocs when calling functions r4 2021-12-23 17:00:57 +0100
  • 7ae9ddaee9 multi-line expressions r4 2021-12-23 16:51:10 +0100
  • 298883939b rewrite expression parser with parentheses r4 2021-12-23 15:56:12 +0100
  • 052e78bf2e add pi example r4 2021-12-22 17:40:54 +0100
  • d7860fdac0 add VM r4 2021-12-22 17:23:24 +0100
  • 5dd15ce9f1 add builtin functions r4 2021-12-22 16:09:52 +0100
  • 41a5dba208 replace malloc with xmalloc r4 2021-12-22 13:10:00 +0100
  • b80e5a9c4e formatting r4 2021-12-22 12:57:14 +0100
  • e7f4773cba make while loop parsing more elegant r4 2021-12-22 12:52:16 +0100
  • a8be4540b1 fix segfault r4 2021-12-21 18:38:52 +0100
  • 9f339ed44d make while loops more efficient and improve expression parsing r4 2021-12-21 17:09:03 +0100
  • 10d436107c very basic while loop r4 2021-12-21 15:02:53 +0100
  • 61d5661b96 fix memory leak on error r4 2021-12-21 14:04:50 +0100
  • 005309d1eb IR jmp and scopes r4 2021-12-21 13:59:08 +0100
  • 6080901842 catch missing expression r4 2021-12-21 11:55:53 +0100
  • 63af3e907b add assignment operator and unify memory pools r4 2021-12-21 11:40:49 +0100
  • 21694f98ac init r4 2021-12-21 01:18:22 +0100
  • ab1887c28d Initial commit r4 2021-12-21 01:16:55 +0100