Commit Graph

23 Commits

Author SHA1 Message Date
c3a7657c71 Format code. 2018-05-17 14:53:48 -07:00
325c9b9ef7 Add a type specifically to operators. 2018-05-16 15:30:29 -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
edcd5fc5ae Add the ability to store values into the table. 2018-04-26 20:51:54 -07:00
cea057aaa6 Switch tables to use refcounting. 2018-04-24 11:13:47 -07:00
5d3130d39d Format the code with clang-format. 2018-04-21 14:09:01 -07:00
7b1445a262 Add functions for basetypes and their entries in tables. 2018-04-17 12:07:22 -07:00
b1a113a57d Add free function for freeing the custom structs. 2018-04-17 12:05:48 -07:00
26ad341a50 Switch the table to using tries. 2018-03-24 20:47:34 -07:00
dfcda0d6c3 Update liblex and libds. 2018-03-24 16:55:54 -07:00
9500a6f9b0 Make a single "operator" token, and specialize after parse. 2018-03-17 20:56:25 -07:00
4e86ccc253 Use new table features to improve searching for operators. 2018-03-17 18:01:52 -07:00
ab2311def9 Store function / operator types when they are registered. 2018-03-15 19:41:11 -07:00
7cee06131e Free table entries when the table is released. 2018-02-17 19:56:18 -08:00
07284d1fb2 Add a table entry free function. 2018-02-17 19:53:33 -08:00
a52735f0b3 Finish the "construct tree" part of Shunting Yard. 2018-02-17 19:08:35 -08:00
8cd1d23120 Add functions to separately register different types of operators. 2018-02-17 14:01:48 -08:00
ee19f55058 Implement convenience functions for looking up the implemented entries. 2018-02-11 23:00:07 -08:00
72be209f0f Implement two entry types and a function to store entries in table. 2018-02-11 22:50:08 -08:00
e5351c17a2 Fix code to stick to proper naming convention. 2018-02-11 21:22:01 -08:00
1a6a80d26b Add the search feature. 2018-02-10 17:57:24 -08:00
a27bdc37f5 Begin working on a table struct to hold information during runtime. 2018-02-10 17:53:07 -08:00