|
a6029d7ef4
|
Add utility function for executing code.
|
2018-05-18 14:15:15 -07:00 |
|
|
03cce8d1fb
|
Clean up some comments.
|
2018-05-17 15:33:38 -07:00 |
|
|
c3a7657c71
|
Format code.
|
2018-05-17 14:53:48 -07:00 |
|
|
97543a3d19
|
Remove unused nesting in behavior struct.
|
2018-05-16 23:10:33 -07:00 |
|
|
325c9b9ef7
|
Add a type specifically to operators.
|
2018-05-16 15:30:29 -07:00 |
|
|
47a57d66ee
|
Remove types from behavior structs.
|
2018-05-16 15:26:03 -07:00 |
|
|
48f8d09405
|
Make table searching functions public to prevent their duplication.
|
2018-05-16 14:05:35 -07:00 |
|
|
70e0e75d24
|
Switch to using values for storing function entries.
|
2018-05-14 21:32:36 -07:00 |
|
|
b96d1804aa
|
Change the behavior of create_function_list to be consistent.
|
2018-05-14 20:15:03 -07:00 |
|
|
e7f3a9384e
|
Add functions to allocate function structs.
|
2018-05-14 19:17:03 -07:00 |
|
|
85f88b909b
|
Add a swap function that swaps contents of references.
|
2018-05-14 19:16:42 -07:00 |
|
|
df50579b5c
|
Make refcounted returns move consistent.
|
2018-05-14 18:34:30 -07:00 |
|
|
c3f413d087
|
Fix bug in parser causing additional frees.
|
2018-05-14 17:46:11 -07:00 |
|
|
cf3136a237
|
Switch values to having their data refcounted separately.
This allows for values to be "cast" and have a different type, while
still referencing the same data.
|
2018-05-14 17:41:41 -07:00 |
|
|
3e8c814215
|
Remove pointless parameter copying.
|
2018-05-11 20:36:27 -07:00 |
|
|
989774cec5
|
Add methods to get pointers to basetypes, for comparison.
|
2018-05-11 20:12:03 -07:00 |
|
|
8f48a16a25
|
Add the ability to copy a ref trie.
|
2018-05-11 14:40:01 -07:00 |
|
|
92186911ad
|
Add type parameters to behavior.
|
2018-05-11 11:38:10 -07:00 |
|
|
8253cd1f69
|
Add initialization functions for operators and functions.
|
2018-05-09 15:05:40 -07:00 |
|
|
3b0908125d
|
Avoid creating number type reference in interpreter.
|
2018-05-06 19:01:47 -07:00 |
|
|
1e215ecfa5
|
Add a function for preparing for execution.
|
2018-05-06 18:45:07 -07:00 |
|
|
51e9a11a1f
|
Add utility function to store a value into a table.
|
2018-04-26 20:59:12 -07:00 |
|
|
edcd5fc5ae
|
Add the ability to store values into the table.
|
2018-04-26 20:51:54 -07:00 |
|
|
785a362f97
|
Add a function list that's used for searching functions by name.
|
2018-04-26 19:40:21 -07:00 |
|
|
c46b82584d
|
Add a new code branch for numbers and void values.
|
2018-04-24 18:29:17 -07:00 |
|
|
78d24de152
|
Free type after retrieving necessary information.
|
2018-04-24 18:28:31 -07:00 |
|
|
2f6176630f
|
Make basetype take a free function.
|
2018-04-24 18:28:20 -07:00 |
|
|
0a24fff344
|
Add a new implementation struct with only one function.
|
2018-04-24 16:59:53 -07:00 |
|
|
14e9ddea23
|
Remove the implementation struct.
|
2018-04-24 16:34:10 -07:00 |
|
|
735e8715a8
|
Add a function to create a value reference wrapper.
|
2018-04-24 15:22:17 -07:00 |
|
|
ee76d39f38
|
Remove un-thread safe shared reference count.
|
2018-04-24 15:08:39 -07:00 |
|
|
4dcf422757
|
Prevent infinite loop in block interpretation.
|
2018-04-24 11:47:50 -07:00 |
|
|
46040531fb
|
Add interpreter to libab.
|
2018-04-24 11:35:27 -07:00 |
|
|
a86938b574
|
Use reference counted table in libab.
|
2018-04-24 11:35:16 -07:00 |
|
|
cea057aaa6
|
Switch tables to use refcounting.
|
2018-04-24 11:13:47 -07:00 |
|
|
251ce4e66e
|
Start the interpreter code. Construct a basic scaffold.
|
2018-04-23 14:49:33 -07:00 |
|
|
43a22d7492
|
Ensure reference is always initialized.
|
2018-04-22 21:24:43 -07:00 |
|
|
ac26c4dbd0
|
Add a function to construct and wrap a parsetype in a refcount.
|
2018-04-22 20:44:30 -07:00 |
|
|
db84019846
|
Add a way to construct a parsetype form existing types and a basetype.
|
2018-04-22 20:44:08 -07:00 |
|
|
b12f6d7a31
|
Add a number implementation struct to libab.
|
2018-04-21 17:32:38 -07:00 |
|
|
596e1419b4
|
Revert "Add a description of the internal array data structure."
Let's focus on the core features, and add the fluff later.
|
2018-04-21 17:14:41 -07:00 |
|
|
d096e2155c
|
Remove the free assumption from libab_ref.
|
2018-04-21 17:05:51 -07:00 |
|
|
5d3130d39d
|
Format the code with clang-format.
|
2018-04-21 14:09:01 -07:00 |
|
|
22ed67f0a4
|
Add a description of the internal array data structure.
|
2018-04-21 13:54:28 -07:00 |
|
|
30578f27da
|
Take precompiled type in register functions. User must call create_type.
|
2018-04-20 14:54:58 -07:00 |
|
|
7692d4541f
|
Add function to compile a type from its string.
|
2018-04-20 14:54:23 -07:00 |
|
|
8214aa8344
|
Allow tree-based function implementations.
|
2018-04-20 09:26:18 -07:00 |
|
|
576f805bd7
|
Implement resolving basetypes.
|
2018-04-19 23:17:54 -07:00 |
|
|
3ada78a557
|
Use reference counting for types.
|
2018-04-17 22:14:28 -07:00 |
|
|
264f420186
|
Merge type and parsetype into a single struct.
It doesn't make sense to re-create the same structure, or even
re-allocated any of the memory.
|
2018-04-17 15:49:09 -07:00 |
|