Commit Graph

22 Commits

Author SHA1 Message Date
Danila Fedorin 06f17f491c Move variable setting code into utilities. 2018-09-13 23:57:33 -07:00
Danila Fedorin 4425b27b52 Make overloading code a utility function and call from interpreter.
This fixes #10.
2018-09-13 16:09:04 -07:00
Danila Fedorin 0065fe5e65 Add utility functions to create libab instances on the heap. 2018-08-12 00:46:37 -07:00
Danila Fedorin f4ecb82c46 Intermediate commit before visitor refactor. 2018-08-11 18:22:18 -07:00
Danila Fedorin 4a058384c1 Make some functions public. 2018-08-10 18:39:26 -07:00
Danila Fedorin f83b7d169c Resolve function types when they're created. 2018-06-17 19:01:15 -07:00
Danila Fedorin 9b575916ff Create a new creation function for new initialization type. 2018-06-02 20:56:30 -07:00
Danila Fedorin 34b97e42ac Add scopes to functions. 2018-05-28 01:18:06 -07:00
Danila Fedorin fb55e20e84 Add utilities to reuse common internal function code. 2018-05-26 15:04:28 -07:00
Danila Fedorin c3a7657c71 Format code. 2018-05-17 14:53:48 -07:00
Danila Fedorin 47a57d66ee Remove types from behavior structs. 2018-05-16 15:26:03 -07:00
Danila Fedorin e7f3a9384e Add functions to allocate function structs. 2018-05-14 19:17:03 -07:00
Danila Fedorin 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
Danila Fedorin 51e9a11a1f Add utility function to store a value into a table. 2018-04-26 20:59:12 -07:00
Danila Fedorin 785a362f97 Add a function list that's used for searching functions by name. 2018-04-26 19:40:21 -07:00
Danila Fedorin 735e8715a8 Add a function to create a value reference wrapper. 2018-04-24 15:22:17 -07:00
Danila Fedorin a86938b574 Use reference counted table in libab. 2018-04-24 11:35:16 -07:00
Danila Fedorin ac26c4dbd0 Add a function to construct and wrap a parsetype in a refcount. 2018-04-22 20:44:30 -07:00
Danila Fedorin 5d3130d39d Format the code with clang-format. 2018-04-21 14:09:01 -07:00
Danila Fedorin 576f805bd7 Implement resolving basetypes. 2018-04-19 23:17:54 -07:00
Danila Fedorin 45d955b8bd Add utility functions for copying strings. 2018-03-06 16:45:55 -08:00
Danila Fedorin 74034c7b76 Rename header files. 2018-02-11 22:32:42 -08:00