Commit graph

13 commits

Author SHA1 Message Date
James Westman
af03c2ac0f cleanup: Format using black 2022-02-23 14:40:09 -06:00
James Westman
9873a2072b Add warning for sync-create 2022-02-09 15:39:02 -06:00
James Westman
ee5f32622f reorganization: Finish moving parsing and AST 2022-01-26 22:37:51 -06:00
James Westman
8f9de81e24 reorganization: Move hooks to common.py
This allows them to be referenced before they are filled, helping avoid
circular dependencies.
2022-01-26 14:50:36 -06:00
James Westman
34f525beaa reorganization: Rename extensions -> language
I want all language elements to be defined in the same folder, rather
than having the "core" language split by parsing/AST/completions and the rest
split by language element.
2022-01-26 14:10:39 -06:00
James Westman
76f7befd68
parser: Shorter code for groups
Add a "grammar" property on AstNode types so they can be used in grammar
expressions as groups
2022-01-24 14:43:00 -06:00
James Westman
8d587b62a0
parser: Simplify parser construction
- Replace several different parse nodes with Match, which matches the
  exact text of a token but not the token type
- Allow arrays to be used in place of Sequence
2022-01-24 14:42:44 -06:00
Gleb Smirnov
e4283ed0c1 fix: replace non-existing bind flag with existing one
Replace non-existing `after` binding flag with `invert-boolean` flag. Use `inverted` name for convenience.
2022-01-24 20:35:31 +00:00
Gleb Smirnov
8a545d596b
feat: add support of internal children 2022-01-22 09:42:49 +03:00
Gleb Smirnov
bce852020c feat: add support for signal's object attribute
Closes a half of #26
2022-01-17 05:37:17 +00:00
James Westman
6b78338d1a
Make template parent optional
Not recommended, since you lose some type checking.
2022-01-16 21:08:16 -06:00
Tijder
168b87bb4a Add bind for bidirectional 2021-12-14 19:59:09 +00:00
James Westman
544d152fb6
Rename to blueprint-compiler
This isn't an official GTK project so better to avoid using "GTK" in the
name.
2021-12-01 15:35:58 -06:00
Renamed from gtkblueprinttool/parser.py (Browse further)