44 Commits (25fa0e97216922a5d81181090c531493f1df1055)

Author SHA1 Message Date
Dylan Baker e991c4d454 Use SPDX-License-Identifier consistently 12 months ago
Charles Brunet 14e35b63c0 parser: allow whitespaces and comments in cont_eol 1 year ago
Charles Brunet 11ef2a536c parser: preserve whitespaces and comments 1 year ago
Charles Brunet 5b29eff8ad parser: simplify other node constructors 1 year ago
Charles Brunet 13ddf8bd02 parser: simplify by using Unary and Binary Operator Node 1 year ago
Charles Brunet 0f4891cdf4 parser: simplify Assignment and PlusAssignment nodes 1 year ago
Charles Brunet 02ff9553db parser: add SymbolNode to preserve operators 1 year ago
Charles Brunet f13260dd43 parser: add ElseNode 1 year ago
Charles Brunet 4b7a56caa2 parser: remember previous Token 1 year ago
Charles Brunet b94167ef50 parser: preserve value of all tokens 1 year ago
Charles Brunet 8d357ba62c parser: use IdNode for foreach varnames 1 year ago
Charles Brunet 306562b466 parser: use IdNode for function name and assignment name 1 year ago
Charles Brunet 35936283d2 parser: preserve escape chars in strings 1 year ago
Charles Brunet a730a2fe21 parser: remove useless __str__ methods on nodes 1 year ago
Charles Brunet 5707d39017 parser: preserve number base 1 year ago
Charles Brunet 3ff3b8abf6 parser: more specific error for float numbers 1 year ago
JCWasmx86 79ed2415e9 Add ParenthesizedNode 1 year ago
Eli Schwartz 90ce084144
treewide: automatic rewriting of all comment-style type annotations 1 year ago
Eli Schwartz a01418db0a
remove useless type annotations 1 year ago
Xavier Claessens 7ac6afe265 mparser: Further cleanup node definitions 2 years ago
Dylan Baker 1ed1c8e2b0 mparser: add equality operators to nodes 2 years ago
Eli Schwartz cc23996266
mparser: Add partial AST to exceptions 2 years ago
Eli Schwartz 9423631b76
mparser: use an inherited ParseException everywhere 2 years ago
Eli Schwartz 774212e738
Revert "Exit meson with an error if an invalid escape sequence is found in a" 2 years ago
Xavier Claessens f0dc61a764 interpreter: Add testcase..endtestcase clause support 2 years ago
Eli Schwartz 680b5ff819
treewide: add future annotations import 2 years ago
Dylan Baker 7b59a2e3ea mparser: Use a literal for the ComparisonNode 2 years ago
Dylan Baker 8f9c6c10c4 mparser: Don't create an exception to pass to mlog.warning 2 years ago
Dylan Baker 7460ab20cd mlog: move code for printing code with a caret to the mlog module 2 years ago
Dylan Baker 3e55891ae7 mparser: don't pass a SimpleNamespace where a BaseNode is expected 2 years ago
Eli Schwartz e5a9272034
typing: fix some broken Sequence annotations 2 years ago
Dylan Baker 4da14918cd pylint: enable consider-using-in 2 years ago
Peter Lesslie d771fc7d0b Add support for multiline f-strings 3 years ago
Eli Schwartz 2974f2bcb8
fix malformed warning to print the way it was meant to print 3 years ago
Eli Schwartz aa0450adda
fix a couple misuses of textwrap.dedent 3 years ago
Eli Schwartz 4b351aef26
first pass at migrating to dataclasses 3 years ago
Dylan Baker 4d7031437c pylint: turn on superflous-parens 3 years ago
Dylan Baker 278942a447 pylint: enable consider-iterating-dictionary 3 years ago
Laurin-Luis Lehning 130adef778 Add support for basic format strings 4 years ago
Eli Schwartz 6a0fabc647
mass rewrite of string formatting to use f-strings everywhere 4 years ago
Daniel Mensinger e681235e5f
typing: fix code review 4 years ago
Daniel Mensinger fb9738b8c7
typing: fully annotate mparser.py 4 years ago
Daniel Mensinger 96eeef62ea
ast: Add AST JSON printer 5 years ago
Dylan Baker 29ef4478df compilers/d: Add b_ndebug support 5 years ago
Andrei Alexeyev 2cfbb36a84 mparser: fix precedence of arithmetic operators 5 years ago
Daniel Mensinger d67888bf9b
types: Remove redundant __init__() -> None annotation 5 years ago
Daniel Mensinger 0302a697b8
types: Use import typing as T 5 years ago
Daniel Mensinger ab988198c7
review: Initial fixup 5 years ago
Daniel Mensinger a75255bc4c
types: Annotate the AST visitors 5 years ago
Daniel Mensinger c14aea2812
types: Annotate mparser.py 5 years ago