roc/crates/ast/src
Joshua Warner 94070e8ba6
Improve parsing of scalar literals
* Unify parsing of string literals and scalar literals, to (e.g.) ensure escapes are handled uniformly. Notably, this makes unicode escapes valid in scalar literals.
* Add a variety of custom error messages about specific failure cases of parsing string/scalar literals. For example, if we're expecting a string (e.g. a package name in the header) and the user tried using single quotes, give a clear message about that.
* Fix formatting of unicode escapes (they previously used {}, now correctly use () to match roc strings)
2023-01-07 15:12:52 -08:00
..
canonicalization remove parse::ast::Def 2022-07-10 01:10:37 +02:00
lang Improve parsing of scalar literals 2023-01-07 15:12:52 -08:00
mem_pool moved all crates into seperate folder + related path fixes 2022-07-01 17:37:43 +02:00
parse fixed editor Ctrl+R 2022-10-28 12:49:48 +02:00
ast_error.rs moved all crates into seperate folder + related path fixes 2022-07-01 17:37:43 +02:00
builtin_aliases.rs Update roc_ast 2022-11-08 14:11:26 -06:00
constrain.rs Update roc_ast constraining tests 2022-10-31 09:37:41 -05:00
lib.rs correct formatting and removed duplicate image 2022-11-03 20:02:10 +11:00
module.rs remove argument from load_and_typecheck 2022-12-29 16:50:19 +01:00
solve_type.rs Update roc_ast 2022-11-08 14:11:26 -06:00