Skip to content

Releases: JuliaLang/JuliaSyntax.jl

v0.2.0

22 Sep 08:58
9f416bd
Compare
Choose a tag to compare

JuliaSyntax v0.2.0

Diff since v0.1.0

Closed issues:

  • Where should the lexer live? (#33)
  • When using in REPL, JuliaSyntax.jl does not seem to work well with multiline parsing? (#42)
  • Internal error in parser when failing to parse a Float64 (#51)
  • Peek behind failure in parse_function (#53)
  • Incorrect parsing of array literal with newline before comma (#59)
  • Dotted unary op with number literal fails to parse to SyntaxNode (#63)
  • Failure to parse some hex floats (#64)
  • Failures parsing underflow and overflow of Float64 literals (#65)
  • dim can overflow in parse_array (#66)
  • :incomplete expression generation (#69)
  • Failure to parse blocks in comprehension if condition (#79)
  • for loop parsing error (#91)
  • Very deep call stacks for nested expressions (#95)

Merged pull requests:

  • Reduce invalidation/recompliation for parser usage in sysimage (#46) (@c42f)
  • Make enable_in_core! safe for use in precompilation (#50) (@c42f)
  • require a number after 'p' for hex floats to lex as a float (#52) (@KristofferC)
  • Minor cleanups to core parser hook (#54) (@c42f)
  • get rid of unused fields and functions in the lexer (#56) (@KristofferC)
  • fix and optimize erroneous code paths (#58) (@aviatesk)
  • Fix vect parsing with newline before comma (#60) (@pfitzseb)
  • update the Core._parse hook (#62) (@aviatesk)
  • Add check_all_packages script (#68) (@pfitzseb)
  • Add fl_parse() test tool to call flisp parser directly (#70) (@c42f)
  • Fix early-abort handling in array_parse (#72) (@pfitzseb)
  • fix parsing hex floats containing 'f' (#73) (@KristofferC)
  • Fix parser crash for empty tuple parsing in parse_function (#75) (@c42f)
  • Fix: .- and .+ before numeric literals (#76) (@c42f)
  • Better "unexpected kw" handling in ternary parsing (#77) (@pfitzseb)
  • Fix over/underflow in parsing float literals (#78) (@c42f)
  • Allow newline in range expr after : in parens (#80) (@pfitzseb)
  • Correctly handle begin as kw in typed comprehension (#81) (@pfitzseb)
  • Never throw in unescape_julia_string (#83) (@pfitzseb)
  • Non-throwing is_identifier_[start_]char (#84) (@pfitzseb)
  • Use K"?" for head of ternary conditional (#85) (@c42f)
  • Add notes about AST differences + minor recovery fix (#89) (@c42f)
  • Always use string nodes wrapping string chunks (#94) (@c42f)
  • Remove many unnecessary allocations (#96) (@c42f)
  • Update link to last known work on the lowerer (#97) (@o314)
  • Parse do syntax without desugaring the closure (#98) (@c42f)
  • Remove Mmap as a dependency (#100) (@c42f)
  • Some minor fixes (#101) (@c42f)
  • Generate Expr(:incomplete) (#102) (@c42f)
  • Fix project status in README + bump to 0.2 (#104) (@c42f)

v0.1.0

15 Aug 09:32
Compare
Choose a tag to compare

JuliaSyntax v0.1.0

Closed issues:

  • Meta.parse on invalid syntax with enable_in_core! (#8)
  • Any need for a contributor? (#11)
  • error when encountering format characters (#23)
  • Some tokenize issues (#31)
  • Replac[ing] flisp (#35)

Merged pull requests:

  • CompatHelper: add new compat entry for Tokenize at version 0.5, (keep existing compat) (#1) (@github-actions[bot])
  • add support for empty nd-array syntax (#4) (@simeonschaub)
  • Compat for odd Exprs in long form anonymous functions (#6) (@c42f)
  • Fixes for ;; and spaces in array concatenation (#7) (@c42f)
  • Fix parser comparison tool. stdlib now parses for 1.6 - 1.8 (#9) (@c42f)
  • Fix raw triple string dedenting with \ before newline (#10) (@c42f)
  • Improvements to core parsing hooks (#12) (@c42f)
  • Fix @ doc parsing for triple strings with trailing whitespace trivia (#13) (@c42f)
  • Parse standalone .& as (. &) (#14) (@c42f)
  • get rid of some unused code in tokenize (#15) (@KristofferC)
  • Fold RawToken into Token and remove the old Token. (#16) (@KristofferC)
  • get rid of the TokenError field in Token (#17) (@KristofferC)
  • Optimization and cleanup in parse stream (#18) (@c42f)
  • Separate token output from internal nodes in ParseStream (#19) (@c42f)
  • Make is_error and K"" macro consistent with new lexer error kinds (#20) (@c42f)
  • Cleanup: put next_byte in token rather than first_byte (#21) (@c42f)
  • Treat UTF-8 BOM as whitespace (#26) (@c42f)
  • Move Expr-related code to expr.jl (#27) (@c42f)
  • Tool and fixes for compiling a JuliaSyntax sysimage (#28) (@c42f)
  • Emit LineNumberNodes in Expr conversion (#29) (@c42f)
  • Fix needless inconsistency in KSet"" vs K"" string macros (#30) (@c42f)
  • Fix some dotop tokenization issues (#32) (@pfitzseb)
  • Improve trivia attachment for ) in parse_brackets (#34) (@c42f)
  • Some minor cleanups (#36) (@c42f)
  • Separate UUID for the JuliaSyntax in sysimage (#37) (@c42f)
  • Docs: Add notes about concatenation AST forms (#39) (@c42f)
  • Fixes for JuliaSyntax in Core / sysimage (#41) (@c42f)