Commit Graph

24 Commits (1a54c9bf6ddb1daf649e193c1262c28d86ddcc43)

Author SHA1 Message Date
David Tolnay 1a54c9bf6d
Eliminate dependency on serde's "derive" feature 7 months ago
cyqsimon 9f36a7a284
Minor codestyle improvements 8 months ago
cyqsimon daf33709a0
Additional sanity check for matcher parser 9 months ago
cyqsimon 12fa2cb1eb
`-` is not a legal character in variable name 9 months ago
cyqsimon 0c1b80faab
Impl per-target syntax mappings 9 months ago
cyqsimon 2c9bf229e1
Add doc comment for `BUILTIN_MAPPINGS` 9 months ago
cyqsimon 822e81bb24
Suppress clippy warning for `MappingTarget` in build script 9 months ago
cyqsimon 4ad3002543
`s/Lazy<GlobMatcher>/Lazy<Option<GlobMatcher>>/` 9 months ago
cyqsimon 1c7c9a6b6d
Split `syntax_mapping/builtin.rs` 9 months ago
cyqsimon 0c93ca80f4
Guard against duplicate matchers in build script 9 months ago
cyqsimon de6d418d42
Remove `BuiltinMatcher` enum
Explanation added as comments in code
Using plain `Lazy<Option<GlobMatcher>>` is just better
9 months ago
cyqsimon c016b462c0
`STATIC_RULES` => `BUILTIN_MAPPINGS` 9 months ago
cyqsimon 075b5b288a
Matcher parser errors when empty 9 months ago
cyqsimon 7cfd1e0d78
Rerun build script only when necessary 9 months ago
cyqsimon 9f7d70f642
Use regex for matcher parsing
- Somewhat better maintainability I think
9 months ago
cyqsimon 0fea82cff9
Minor improvement of variable naming accuracy 9 months ago
cyqsimon 64840fbbae
`join_segments` -> `build_glob_string`
- this is a more descriptive name
9 months ago
cyqsimon 9478d2dfe8
Isolate variables at compile time 9 months ago
cyqsimon 9f4259721a
Fix codegen type declaration 9 months ago
cyqsimon 77e491161c
Ensure lexicographical ordering 9 months ago
cyqsimon 97780f987e
`MappingDefModel::into_mapping_list` returns `MappingList` 9 months ago
cyqsimon d1bc0ef0d4
Build script codegen initial impl 9 months ago
cyqsimon 5498c24c33 Rerun build script only when necessary 11 months ago
cyqsimon 79a03b4299 Reorganise build script into modules 11 months ago