|
4a058384c1
|
Make some functions public.
|
2018-08-10 18:39:26 -07:00 |
|
|
b0c2eb5a5e
|
Maintain the promise that references are null-ed on error.
|
2018-08-10 17:31:02 -07:00 |
|
|
3c0648e473
|
Fix the assumption that the stack only has infix operators.
|
2018-08-10 17:20:14 -07:00 |
|
|
8192d767f2
|
Add macro for declaring functions.
|
2018-08-10 16:59:44 -07:00 |
|
|
416686ca72
|
Add boolean logic functions and operators.
|
2018-08-10 16:54:53 -07:00 |
|
|
fdca2a8ca7
|
Add more sanitizing characters.
|
2018-08-10 16:54:39 -07:00 |
|
|
d0615d2c3e
|
Implement the if statement.
|
2018-08-10 16:34:28 -07:00 |
|
|
b1ab168907
|
Do not exit on absence of print function.
|
2018-08-10 16:15:58 -07:00 |
|
|
3b79b5751a
|
Add true and false keywords to the parser.
|
2018-08-10 16:06:30 -07:00 |
|
|
7c8c547540
|
Add true / false values to interpreter.
|
2018-08-10 15:29:56 -07:00 |
|
|
25f5d3469b
|
Add a boolean type.
|
2018-08-10 00:52:12 -07:00 |
|
|
6b331cc3c4
|
Report error code from function call.
|
2018-06-22 00:44:59 -07:00 |
|
|
4540559097
|
Roll back incorrect bugfix.
|
2018-06-21 19:22:29 -07:00 |
|
|
48300cd86e
|
Implement reserved operators.
|
2018-06-21 19:00:45 -07:00 |
|
|
a5429ae2c8
|
Maintain scope between lines executed.
|
2018-06-21 17:23:34 -07:00 |
|
|
03577269f2
|
Add various ways to call code.
|
2018-06-21 17:06:53 -07:00 |
|
|
7dfc55154e
|
Require scope in interpreter calls.
|
2018-06-21 16:11:39 -07:00 |
|
|
13ccea10e4
|
Add scope to internal functions.
|
2018-06-21 14:25:11 -07:00 |
|
|
82747eae6a
|
Output error codes.
|
2018-06-20 13:55:28 -07:00 |
|
|
6822c97750
|
Properly handle placeholder types.
|
2018-06-17 20:21:40 -07:00 |
|
|
827dba9013
|
Add the libab prefix to free functions.
|
2018-06-17 19:43:18 -07:00 |
|
|
f83b7d169c
|
Resolve function types when they're created.
|
2018-06-17 19:01:15 -07:00 |
|
|
b9b6a8ec4b
|
Get basetype from table or type parameters if not resolved.
|
2018-06-17 18:20:40 -07:00 |
|
|
05586069a7
|
Remove function resolving code. It will not be used.
|
2018-06-17 17:13:11 -07:00 |
|
|
22b738a4f0
|
Add code to call tree functions.
|
2018-06-17 02:03:34 -07:00 |
|
|
88ec979ba5
|
Add scope modes instead of a flag.
|
2018-06-17 01:25:41 -07:00 |
|
|
763cfdd7a3
|
Search scope as well as type map for type parameters.
|
2018-06-17 00:12:51 -07:00 |
|
|
065554bcdf
|
Store type parameters into table during call.
|
2018-06-16 23:40:32 -07:00 |
|
|
27c79d44f5
|
Add a foreach function to ref_trie.
|
2018-06-16 20:51:54 -07:00 |
|
|
28f7cd1b30
|
Add creating tree functions.
|
2018-06-15 22:56:56 -07:00 |
|
|
695fbed235
|
Put free functions into common header / source file.
|
2018-06-15 22:54:58 -07:00 |
|
|
1158b29c1b
|
Remove currently unused file.
|
2018-06-15 16:53:13 -07:00 |
|
|
5492aa6f63
|
Change free condition for tree.
|
2018-06-13 23:28:42 -07:00 |
|
|
59f306f59e
|
Avoid hard crashes due to unfinished interpreter function.
|
2018-06-13 23:28:33 -07:00 |
|
|
3fc90383a9
|
Increment refcount for tree when added to function.
|
2018-06-12 23:47:40 -07:00 |
|
|
39dd07b134
|
Add pseudo-refcounting to tree creation.
|
2018-06-12 23:34:18 -07:00 |
|
|
b5b4d7816a
|
Fix ref_vec reallocation.
|
2018-06-12 02:27:53 -07:00 |
|
|
dc9702df4c
|
Fix memory allocation / free bugs.
|
2018-06-12 02:09:51 -07:00 |
|
|
1438690b62
|
Add a partial application function.
|
2018-06-03 00:49:30 -07:00 |
|
|
9b575916ff
|
Create a new creation function for new initialization type.
|
2018-06-02 20:56:30 -07:00 |
|
|
cbd57f2585
|
Add new way to initialize functions.
|
2018-06-02 20:56:10 -07:00 |
|
|
62dd41e634
|
Use the unit type correctly instead of null references.
|
2018-06-02 16:06:13 -07:00 |
|
|
8207f1f450
|
Add unit value to interpreter.
|
2018-06-02 15:59:13 -07:00 |
|
|
3fcdd55395
|
Use unit type in print function.
|
2018-06-02 15:37:15 -07:00 |
|
|
969e457fba
|
Add a unit type.
|
2018-06-02 15:37:04 -07:00 |
|
|
b7cc17d394
|
Remove debug printing.
|
2018-06-02 15:17:43 -07:00 |
|
|
0db929b7f7
|
Fix functions remaining allocated after program exit.
|
2018-06-02 12:42:06 -07:00 |
|
|
6080c3f250
|
Add a function to print the result of the evaluation.
|
2018-06-01 23:39:23 -07:00 |
|
|
f199bc6efd
|
Add a function to call a function by name.
|
2018-06-01 23:32:19 -07:00 |
|
|
c2ec44d83b
|
Create a macro for basic infix operators.
|
2018-06-01 15:33:45 -07:00 |
|