6 Commits (a450f8c6bc59dc7a4aee513be57a1d49b2295e52)

Author SHA1 Message Date
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
Jon Turney c8f8d58273
Rename 'subdir' -> 'filename' in location objects 5 years ago
Daniel Mensinger e4a0ee205d lgtm: Fix redundant code 5 years ago
Xavier Claessens 9b1a857473 dict: Fully evaluate keys 5 years ago
Marc Herbert 80bfe593fc mparser.py: actually check the type of key variable, not its value 5 years ago
fchin 4e460f04f3 Fixed issue that the key's value type wasn't checked correctly. 5 years ago
franczc adb4e071e6 Adding dictionary entry using string variable as key. 5 years ago
Daniel Mensinger 2b5831f94f
Fix flake8-bugbear warnings 6 years ago
Jon Turney ccc4ce28cc consistent invalid escape sequence behaviour 6 years ago
Daniel Mensinger 5a22bb7901 rewriter: Use mparser to detect the end of some nodes 6 years ago
Dylan Baker 841da29d2c Fix ternary in thing (#5007) 6 years ago
Daniel Mensinger 4b7b5a7185
Fixed flake8 6 years ago
Daniel Mensinger 24a2cf02e2
Can now find the assignment node of a value 6 years ago
Michael Hirsch, Ph.D da34bea893 pep8 py37 6 years ago
Daniel Mensinger e089eb7665
Fixed line and column numbers for dict and array nodes 6 years ago
Daniel Mensinger ccad493e85
Basic AST visitor pattern 6 years ago
Xavier Claessens 90c9b868b2 parser: Fix line continuation outside of (), [] or {} 6 years ago
Xavier Claessens a816e1c1fa Interpreter: Add 'continue' and 'break' keywords 6 years ago
Xavier Claessens fa2e096aa0 Interpreter: Add "in" and "not in" operators 6 years ago
Xavier Claessens e7dcf5cf16 Warn for future keyword (#3908) 6 years ago
Filipe Brandenburger 86d2f57e86 Add support for octal and binary int literals. 7 years ago
Mathieu Duponchelle 10e7566ed8 dict: fix CI issues 7 years ago
Mathieu Duponchelle 195c356f91 dict: address review comments 7 years ago
Mathieu Duponchelle ecb8838082 Add new built-in type, dict 7 years ago
Niklas Claesson cb0960a91e Remove escaping for triple-quoted strings 7 years ago
Niklas Claesson 348248f0a1 Exit meson with an error if an invalid escape sequence is found in a 7 years ago
Tim 'mithro' Ansell 36aab0f4b2 Complete python escape sequences aware strings 7 years ago
Jussi Pakkanen d0f2f0ad3b Newlines in single line strings should only be a warning for now. 7 years ago
Caio Marcelo de Oliveira Filho 37b702e9aa Fail if singleline string has multiple lines 7 years ago
Jussi Pakkanen a288b524bc Add support for hex int literals. 7 years ago
Jon Turney 6a1a56ab57 Report warning/error locations in a format IDEs may already know how to parse 7 years ago
Jon Turney 2ed875e1b4 Consolidate warning location formatting in mlog.warning() 7 years ago
Jon Turney 3c75ae9ced Add filename and lineno to duplicate kwargs warning 7 years ago
Joergen Ibsen b9a0589067 Fix escaping of newlines in string literals 7 years ago
Jussi Pakkanen 506cc57cc8 Do not permit invalid and/or nodes to be declared. Closes #1886. 8 years ago
Jussi Pakkanen 6c500fd9db Added missing argument to a few function calls. Closes #1647. 8 years ago
Jussi Pakkanen 4588b91096 Print a warning on duplicated keywords. 8 years ago
Aaron Plattner c80ca384b2 Don't crash if a meson.build file is empty (#1570) 8 years ago
Aaron Small 9adef3a8e8 EmptyNode needs a line/column number too. There are times its line 8 years ago