Commit graph

15 commits

Author SHA1 Message Date
d0441965eb [types] Add Bools to the mix 2018-08-26 09:52:17 -07:00
fc1f3acfa2 [types] Clean up failing tests 2018-08-25 08:33:23 -07:00
d825d0ec8a [types] Clean up Pair and Sym types
Reconfigure the top-level object types.
- Obj is an enum pointer type
- Object is a trait that all Scheme types should implement

Define Sym, a symbol type.
Define Pair, a pair/cons/list type.

Implement Display for all types above. Implement casting methods for the above.
2018-08-23 17:05:29 -07:00
f21148381e Make sibiltypes::char public 2017-04-30 15:57:29 -07:00
38be7d2eee Expose ObjectPtr and ObjectPtr::new from sibiltypes 2017-04-23 09:23:03 -07:00
15910480ee Write Numbers 2017-04-22 12:57:43 -07:00
c3a2247fdd Clean up tests for bool, char, and the lib 2017-04-22 12:29:43 -07:00
beb32bf2ce Bunch of work on types
- Comment out a bunch of types modules for now
- Implement fmt::Display on Object (this breaks the build because Number doesn't
  implement Display yet)
- Move all the Is* traits to predicates.rs

Haven't run tests yet because they won't build...
2017-04-22 09:29:11 -07:00
594b3e44e1 Rough outline of something resembling a parser (again...) 2017-04-15 21:01:28 -07:00
25ef33b81f Expose number module from sibiltypes 2017-04-15 11:01:42 -07:00
4d7d709b2f Keep working on Numbers and stuff -- trying to get integrated with the new sibillexer crate 2017-04-15 09:37:48 -07:00
3e03ca7e4c Implement Integers and Rationals 2017-04-09 15:58:20 -07:00
359da30eb7 Move mod stuff to lib.rs 2017-04-08 16:37:23 -07:00
c2ac6450ba Clean up some Value/Bool/Char code 2017-04-08 16:35:11 -07:00
0e6231bd94 Add empty sibiltypes lib at ./types 2017-04-08 16:22:56 -07:00