Commit Graph

29 Commits

Author SHA1 Message Date
3a43b56fcd
evaluator: cache native function resolution 2023-09-09 01:51:04 -04:00
e8766323ee
language: floating point support 2023-09-09 00:08:30 -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
540826fb6e
ffi: shorthand for some java types 2023-09-07 01:07:43 -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
f31e12df89
ffi example: use c as library specifier 2023-09-06 19:08:32 -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
3545aa076f
Introduce the requirement of let for assignment. 2023-09-04 02:33:13 -07:00
bf3967544a
Complex import sample and support for import dependency cycles. 2023-09-03 02:41:02 -07:00
4f567eb287
Exportable functions, common frontend, and scoped imports. 2023-09-03 02:26:21 -07:00
ed5bbec004
Implement a very dumb import system. 2023-09-02 23:28:40 -07:00
e7be1f622d
fn -> func 2023-09-02 21:07:59 -07:00
b1f9e02253
Declaration based compilation units. 2023-09-02 20:22:08 -07:00
62ba662a91
Fix attribution of tokens. 2023-09-02 17:01:56 -07:00
ddde99f38d
String literal support. 2023-08-22 21:58:56 -07:00
1445490770
An actual command line tool to run pork programs. 2023-08-21 23:08:56 -07:00
95fe6e9abb
Add support for not equals (!=) infix operation. 2023-08-21 02:34:33 -07:00
0b3700667d
Add support for line comments. 2023-08-21 02:22:43 -07:00
5455846d7a
Add support for block comments. 2023-08-21 02:15:52 -07:00
ccd10343c3
Implement negation operator. 2023-08-20 22:35:44 -07:00
90df76ca33
Simple syntax example. 2023-08-20 22:25:45 -07:00
903f730d51
Support if without else. 2023-08-19 20:59:14 -07:00
cccea9c2ca
If Statement Support 2023-08-19 20:40:31 -07:00
6494858f02
Initial Commit 2023-08-19 15:34:10 -07:00