Commit Graph

24 Commits

Author SHA1 Message Date
e31566f0d6 ffi: migrate to java.lang.foreign and require Java 21 2023-09-23 15:45:01 -07:00
c92a111af7 idea: implement function call completion (limited) 2023-09-21 21:33:34 -07:00
4758e92676 evaluator: significant performance enhancements 2023-09-21 17:21:53 -07:00
7cb3e02b21 parser: major refinement of error handling 2023-09-18 01:07:28 -07:00
821aa3563a frontend: implement basic scope analysis 2023-09-17 00:38:47 -07:00
b64c7fb259 parser: use ast user data to store attribution 2023-09-11 20:13:15 -04:00
14b3f4c6e9 minimal: pork-rt minimal runtime 2023-09-11 02:39:38 -04:00
e8c984f2dc language: prelude and internal functions, and varargs support 2023-09-10 19:27:59 -04:00
4a9508ddc4 tool: cleaner println built-in (#1) 2023-09-09 22:20:56 -04:00
bf474f6b69 evaluator: introduce and expose scope tracking 2023-09-08 00:04:36 -07:00
38efbe1844 ffi: java interop improvements 2023-09-07 18:16:47 -07:00
a2f2252965 ffi: autogen java bindings (very wip) 2023-09-07 01:51:50 -07:00
953679b859 ffi: support for java native functions 2023-09-07 01:03:01 -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
9f90e05d8a ast: utilize extension functions to prevent larger stack frames from default interface methods 2023-09-05 17:06:52 -07:00
725137c82f tool: add support for measuring runtime of a program 2023-09-05 01:49:19 -07:00
7de8f8cd63 Prepare for benchmarking and profiling. 2023-09-05 01:02:13 -07:00
2f0ee43556 tool: use absolute path for root 2023-09-04 22:46:36 -07:00
e7f36e0524 Fix -march=compatibility for GraalVM 2023-09-04 22:33:38 -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
128f40bcf4 Split out all code into modules. 2023-09-04 01:56:24 -07:00