Commit Graph

23 Commits

Author SHA1 Message Date
greg 063a13f7ff Move BinOp into ast subcrate
now builtins is only builtin semantics and has nothing to do with
operators
2019-08-15 06:28:40 -07:00
greg b0a1f3337c Clean up some operator code 2019-08-14 10:31:07 -07:00
greg 44938aa4e6 Starting to refactor binop 2019-08-14 09:26:08 -07:00
greg fde169b623 Make operators live in a submodule of ast
Starting with PrefixOp, BinOp happens next
2019-08-14 07:25:45 -07:00
greg 6e92b03f81 Add types for (some) builtins 2019-08-13 04:28:21 -07:00
greg 0dd6b26e5a Move where PrefixOp lives 2019-08-13 04:17:17 -07:00
greg 7ae41e717d Switch away from string builtins 2019-08-12 14:10:07 -07:00
greg 24089da788 Mapping names to builtins 2019-08-12 13:49:39 -07:00
greg bfb36b90e4 Start refactoring how builtins work
Create an enum of builtin operations to start with
2019-08-12 13:10:22 -07:00
greg 32fe7430a4 Equals should be a token type 2019-06-16 16:07:27 -07:00
greg 95fe1941a1 Kill some unused items 2019-02-21 18:39:41 -08:00
greg 03793e08d3 Typechecking operators 2019-02-20 03:27:46 -08:00
greg fbb7b995b8 Rename mk_type! to ty!
Doesn't seem to conflict with the same macro in the parser tests, so should be
ok
2019-02-17 03:38:15 -08:00
greg 9d4f086a04 Put mk_type! in typechecking module 2019-02-17 03:36:12 -08:00
greg 35da1748f0 Some more type work 2019-02-10 12:21:12 -08:00
greg 5e1799268d Unification works with bad annotations 2019-02-10 07:32:12 -08:00
greg 42a801d346 Rename Order -> Ordering 2019-02-10 07:06:30 -08:00
greg e8f1f51639 Move (most of) the type definitions back to typechecking module
Still need to figure out the macro export thing
2019-02-10 04:30:37 -08:00
greg a63dcf91b0 Replace // with `quot` 2019-01-10 20:57:13 -08:00
greg 30676722a3 Transition to edition 2018 2019-01-07 13:00:37 -08:00
greg 1f527f7949 Rename TokenType -> TokenKind 2018-11-16 23:17:34 -08:00
greg dca9ad06c3 Handle HalfExpr closer to correct 2018-10-19 11:02:10 -07:00
greg 3b20b9e209 Put schala-lang crates into a subdirectory 2018-10-17 14:51:48 -07:00