Skip to content

@grain/compiler @grain/compiler-v0.4.2

Compare
Choose a tag to compare
@github-actions github-actions released this 12 Oct 00:20
f3acade

Features

  • compiler: Inline not (!) operator (#937) (3f5e9a9)
  • grainfmt: Add format in place or output to a new file (#904) (0d18935)
  • stdlib: Add Conv.wasmI32ToNumber function (#978) (c93ade8)
  • stdlib: Add string trim functions to String module (#951) (e55de8f)
  • stdlib: Regular Expressions (#680) (9601e16)

Bug Fixes

  • compiler: Allow trailing commas in imports and destructuring (#890) (f5c24c9)
  • compiler: Do not inline aliased mutables (#909) (a50430a)
  • compiler: Don't over-optimize mutable imports (#967) (c3066f6)
  • compiler: Don't warn on exhaustive boolean matches (#913) (4189745)
  • compiler: Ensure cwd directory is normalized on Windows (#952) (a3ab9c3)
  • compiler: Export functions with aliased names as wasm functions (#920) (afba142)
  • compiler: Fix parsing of block with lone 0-arg enum (#885) (edfc21e)
  • compiler: Fix stack/heap number allocation boundary (#974) (47b0f56)
  • compiler: Follow proper calling convention when callling stdlib equals in match (#895) (73fe7d4)
  • compiler: Parse array set with newline correctly (#926) (14e1822)
  • compiler: Remove existing exports when writing universal exports (#919) (e80de43)
  • compiler: Resolve all modules fully during linking (#950) (33b33a3)
  • Correctly preserve start position for character literals (#931) (8fcc575)
  • graindoc: Only extract attributes from Doc comments (#970) (7b6ee5f)
  • grainfmt: fix some spacing issues with the formatter (#955) (9c4be85)
  • grainfmt: Format CRLF files without error (#941) (ece7536)
  • grainfmt: Group infix functions when passed as params (bb9666d)
  • grainfmt: handle empty type for foreign exports (#907) (d3b60a4)
  • grainfmt: Improve formatter performance (#959) (4e739f1)
  • grainfmt: Print attributes for non-toplevel expressions (#887) (72292fe)
  • grainfmt: remove extra spaces around for/while loop conditions (#897) (2054a83)
  • grainfmt: Remove extraneous parens around infix function application (#902) (5c1906a)
  • grainfmt: Removed a trailing comma after a spread in a list, and fixed escaped single quote (#923) (3a138d6)
  • grainfmt: Resolve issues with comments within braces (#888) (9c88b89)
  • stdlib: Fix Char.code memory issue (#928) (dfa31d8)
  • stdlib: Fix issue with list printing (#894) (e2a33a9)
  • stdlib: Fix memory issue in list printing (#912) (3e0a805)