Commit Graph

23 Commits

Author SHA1 Message Date
Danila Fedorin c4a7117704 Ensure operator does not try to take ownership of string. 2018-08-22 17:45:45 -07:00
Danila Fedorin 13ccea10e4 Add scope to internal functions. 2018-06-21 14:25:11 -07:00
Danila Fedorin cbd57f2585 Add new way to initialize functions. 2018-06-02 20:56:10 -07:00
Danila Fedorin 5fec3bd63c Make operators simply aliases to functions. 2018-06-01 15:24:55 -07:00
Danila Fedorin 34b97e42ac Add scopes to functions. 2018-05-28 01:18:06 -07:00
Danila Fedorin 1f7294ce29 Add libabacus parameter to function calls. 2018-05-27 00:02:20 -07:00
Danila Fedorin 1cd7f3f45a Finish the draft implementation. 2018-05-22 17:45:32 -07:00
Danila Fedorin 03cce8d1fb Clean up some comments. 2018-05-17 15:33:38 -07:00
Danila Fedorin c3a7657c71 Format code. 2018-05-17 14:53:48 -07:00
Danila Fedorin 97543a3d19 Remove unused nesting in behavior struct. 2018-05-16 23:10:33 -07:00
Danila Fedorin 325c9b9ef7 Add a type specifically to operators. 2018-05-16 15:30:29 -07:00
Danila Fedorin 47a57d66ee Remove types from behavior structs. 2018-05-16 15:26:03 -07:00
Danila Fedorin 92186911ad Add type parameters to behavior. 2018-05-11 11:38:10 -07:00
Danila Fedorin 8253cd1f69 Add initialization functions for operators and functions. 2018-05-09 15:05:40 -07:00
Danila Fedorin 5d3130d39d Format the code with clang-format. 2018-04-21 14:09:01 -07:00
Danila Fedorin 8214aa8344 Allow tree-based function implementations. 2018-04-20 09:26:18 -07:00
Danila Fedorin 3ada78a557 Use reference counting for types. 2018-04-17 22:14:28 -07:00
Danila Fedorin b1a113a57d Add free function for freeing the custom structs. 2018-04-17 12:05:48 -07:00
Danila Fedorin 9500a6f9b0 Make a single "operator" token, and specialize after parse. 2018-03-17 20:56:25 -07:00
Danila Fedorin 6b438dbc6d Store the operator type in the corresponding table entry. 2018-03-17 17:38:13 -07:00
Danila Fedorin ab2311def9 Store function / operator types when they are registered. 2018-03-15 19:41:11 -07:00
Danila Fedorin b1aa2a4bf5 Implement associativity storage for operators. 2018-02-17 16:00:39 -08:00
Danila Fedorin 3de3f1ec00 Move structs used to hold custom operators and functions into new header 2018-02-11 22:38:40 -08:00