JuliaSyntax v0.4.10
Merged pull requests:
- Remove unused
is_error
import in Tokenize module (#420) (@ericphanson) - add more specific error for invalid identifier start chars (#421) (@JeffBezanson)
- add "some warnings detected" to ParseError printing when all problems are warnings (#423) (@ericphanson)
- Change AST for iterations to use
iteration
kind (#433) (@c42f) - Allow macrocall in function def syntax (#456) (@Keno)
- Use
K"function"
for short form function AST (#466) (@c42f) - Cleanup/document source code access functions + add
filename()
(#470) (@c42f) - Add a pile of documentation for expression predicates (#471) (@c42f)
- Make
using :A
an error; fixusing A: (..)
warning (#477) (@c42f) - Allow any of
≔ ⩴ ≕
as identifiers (#478) (@c42f) - Fixes for AST reference documentation (#479) (@c42f)
- Fix premature lowering of cmd strings (#480) (@c42f)
- Fix bug converting cmd string macros to Expr (#482) (@c42f)
- Rename
haschildren()
tois_leaf()
(#483) (@c42f) - Clean up and document syntax tree child access API + mark public API (#484) (@c42f)
- Tool to bump JuliaSyntax version in Base (#485) (@c42f)
- Implement
char_range()
to respect string indices (#486) (@c42f) - Replace K"true" and K"false" with K"Bool" (#488) (@c42f)
- Show leaf Kinds when printing syntax trees (#489) (@c42f)
- add some small type inference improvements to allow for some basic static compiling (#491) (@KristofferC)
- Terminate :statement parsing at newlines (#493) (@timholy)
- Consistent attachment of syntax trivia to top level statements (#495) (@c42f)
- Disallow trailing junk in generators (#497) (@c42f)
- Fix
is_number()
predicate to includeBool
and clean up (#498) (@c42f) - Backports for release 0.4.10 (#499) (@fredrikekre)
Closed issues:
- Parentheses not required warning in
using A: (..)
(#350) - ≔ (\coloneq) generates "invalid identifier" error (#405)
- Parsing of generators allows skipping a comma (#407)
- Feature request:
do
with infix calls (#414) - Detect and tip when prompt is entered erroneously (#427)
- Fix premature lowering of
K"core_@cmd"
etc (#438) char_range()
function for indexing into source strings (#457)- AST of short form functions (#465)
using :A
now tries to load package A while it used to error (#473)- Towards getting JuliaSyntax to work with
--trim
and static binaries. (#490) - Makie file is not parseable by JuliaSyntax.jl? (#492)
- wrong line numbers with lines ending in ; (#494)
- "(a;b;c)" not parsed as having parens node (#496)