Commit Graph

34 Commits (main)

Author SHA1 Message Date
bog f393d6d7f7 FIX: type checking and modules.
FIX: closure capture on non copyable objects.
2023-09-15 20:36:16 +02:00
bog 792ef70df9 ADD: more type checking. 2023-09-15 11:11:06 +02:00
bog e12ff96943 ADD: basic type checker. 2023-09-15 09:25:40 +02:00
bog 29facf1647 ADD: cast int/float/string functions.
ADD: rand module with randf and range functions.
2023-09-14 17:35:39 +02:00
bog 64d17de693 ADD: syntaxic sugar for module import. 2023-09-14 14:34:51 +02:00
bog c94bf181fd ADD: user data value. 2023-09-14 12:49:58 +02:00
bog 47b44d3439 ADD: install project headers and generate pkg-config pc file. 2023-09-14 12:32:17 +02:00
bog 43a8c0c113 ADD: native modules can be declared from libs shared libraries. 2023-09-13 23:14:49 +02:00
bog 078877aa26 ADD: import local modules. 2023-09-13 21:11:36 +02:00
bog 25bd1f28f6 ADD: strings. 2023-09-13 13:45:09 +02:00
bog f2c9a6248a ADD: floats. 2023-09-13 12:15:12 +02:00
bog 8fa9957575 REF: renamed 'assert-eq?' into 'assert='. 2023-09-13 11:33:57 +02:00
bog d8025d967f ADD: arrays. 2023-09-13 07:46:33 +02:00
bog 8b5b243cab ADD: function capture env (closure). 2023-09-12 21:11:29 +02:00
bog 83f1cc97b9 FIX: now using unique addresses. 2023-09-12 17:37:52 +02:00
bog d5fb25046e ADD: closure capture direct parent environment. 2023-09-12 14:32:14 +02:00
bog f7b470c0b1 ADD: set! function. 2023-09-12 12:20:29 +02:00
bog 29fded5cb9 ADD: nested function.
ADD: function can returns other function or lambda.
2023-09-12 11:16:05 +02:00
bog ea5991732c ADD: recursive functions. 2023-09-12 11:05:34 +02:00
bog 12f42a86f6 FIX: nested block scopes. 2023-09-12 06:46:07 +02:00
bog aaeedb1ba9 ADD: if core function.
FIX: block scope.
2023-09-12 06:36:55 +02:00
bog ab64ab8007 ADD: blocks. 2023-09-12 05:53:16 +02:00
bog 43a029ebc9 ADD: syntaxic sugar for function declaration. 2023-09-11 22:18:11 +02:00
bog a5ec909a5a ADD: function literal. 2023-09-11 20:59:54 +02:00
bog 59af9d809e ADD: bool arithmetic and comparison operators. 2023-09-11 17:54:59 +02:00
bog bae09ec2f3 ADD: integers. 2023-09-11 15:59:37 +02:00
bog 690122ea4a ADD: test bash script. 2023-09-11 14:27:44 +02:00
bog 0795eb5d9f ADD: eq? and assert-eq? core functions. 2023-09-11 14:05:10 +02:00
bog 20b5e60557 ADD: assert core function. 2023-09-11 13:46:41 +02:00
bog 314fbc0bd6 ADD: native functions. 2023-09-11 12:14:01 +02:00
bog e5c388a38e ADD: variable declaration. 2023-09-11 08:00:50 +02:00
bog 583c1351ba ADD: comments. 2023-09-11 01:10:00 +02:00
bog f001a50d38 ADD: bool literals. 2023-09-11 01:05:29 +02:00
bog b188eba63a Initial commit 2023-09-10 17:58:23 +00:00