Commit Graph

29 Commits

Author SHA1 Message Date
a6f9a82e5e language: none support 2023-09-12 02:03:41 -04:00
f64a54fa06 parser: fix integer literals 2023-09-12 00:46:09 -04:00
1b363dcf56 parser: implement long literal and handle overflow 2023-09-12 00:25:13 -04:00
7aa9d95221 idea: implement psi parser and the start of symbol declarations 2023-09-11 22:43:34 -04:00
b64c7fb259 parser: use ast user data to store attribution 2023-09-11 20:13:15 -04:00
a07e0fe672 language: add boolean and/or operators, change negation syntax (#7)
* language: add boolean and/or operators, change negation syntax

* examples: simplify row builder using arrays
2023-09-11 14:02:58 -04:00
0aab45094a language: implement for in 2023-09-11 05:34:09 -04:00
9ba150bb69 language: add binary operators (#6)
- unary binary not
- infix bitwise and
- infix bitwise or
- infix bitwise exclusive or (xor)
2023-09-11 05:24:08 -04:00
d8c0ef43c1 parser: cleanup code for fixing comma bug 2023-09-11 05:20:08 -04:00
dbe4e7d5a5 parser: fix bug where comma was not required in function call 2023-09-11 05:17:55 -04:00
24d2ff5743 parser: fix parsing of modifiers for let definitions 2023-09-11 05:03:12 -04:00
8f60039d6e language: implement let definitions 2023-09-11 04:57:13 -04:00
8d310e337a language: add unary plus & minus, post increment & decrement operators, non-newline print builtin. fix block comments (#4) 2023-09-11 00:34:10 -04:00
e8c984f2dc language: prelude and internal functions, and varargs support 2023-09-10 19:27:59 -04:00
71999032ac language: var, reassign, comparison operators 2023-09-10 04:35:36 -04:00
0bc3128b9d support: basic idea plugin 2023-09-10 01:27:53 -04:00
0024a8b141 language: euclidean modulo and remainder infix operators (#3) 2023-09-09 22:41:20 -04:00
e8766323ee language: floating point support 2023-09-09 00:08:30 -04:00
a2f2252965 ffi: autogen java bindings (very wip) 2023-09-07 01:51:50 -07:00
81296ee1d1 imports are now python style with a twist: forms! import std ffi and import local myfile 2023-09-06 22:43:03 -07:00
0e4362eefb add a standard library, and introduce formed imports (import std "myfile.pork") 2023-09-06 21:39:57 -07:00
236f812caf while loop support, and native functions (including ffi!) 2023-09-06 19:07:28 -07:00
ddff6cb365 language: today, we killed lambdas 2023-09-05 19:37:23 -07:00
073ea09b13 ast codegen: optional support for inlining visit 2023-09-05 18:59:42 -07:00
9f90e05d8a ast: utilize extension functions to prevent larger stack frames from default interface methods 2023-09-05 17:06:52 -07:00
174d51ca1c Auto-generate the AST. 2023-09-04 22:13:58 -07:00
4aa516f0fb Fix some overqualifications due to IDE renaming. 2023-09-04 02:38:09 -07:00
3545aa076f Introduce the requirement of let for assignment. 2023-09-04 02:33:13 -07:00
128f40bcf4 Split out all code into modules. 2023-09-04 01:56:24 -07:00