The compiler for ReScript.
OTHER License
Bot releases are hidden (Show)
@uncurry
attribute in uncurried mode, to avoid generating calls to Curry
at runtime. https://github.com/rescript-lang/rescript-compiler/pull/6869
-warn-error
, see https://github.com/rescript-lang/rescript-compiler/issues/6868 for more details. https://github.com/rescript-lang/rescript-compiler/pull/6877
_param
in recursive functions with unit argument. https://github.com/rescript-lang/rescript-compiler/pull/6907
Published by cknitt 4 months ago
-nostdlib
is set. https://github.com/rescript-lang/rescript-compiler/pull/6833
Published by cknitt 4 months ago
Published by cknitt 4 months ago
@live
to avoid dead code warnings for prop fields in the editor tooling. https://github.com/rescript-lang/rescript-compiler/pull/6796
Jsx.element
surfaces to the user. https://github.com/rescript-lang/rescript-compiler/pull/6808
Published by cknitt 5 months ago
Published by cknitt 6 months ago
ReScript 11.1, which builds upon the foundation laid by ReScript 11.0 earlier this year, comes with a host of exciting additions.
%todo
and warn-error
Published by cknitt 6 months ago
%todo
extension for leaving implementation for later. https://github.com/rescript-lang/rescript-compiler/pull/6713
-warn-error
argument for generating errors in CI. Useful for %todo
extension. https://github.com/rescript-lang/rescript-compiler/pull/6717
@deriving(accessors)
on a variant with record arguments. https://github.com/rescript-lang/rescript-compiler/pull/6712
@send
and @new
. https://github.com/rescript-lang/rescript-compiler/pull/6716
ref
in React.forwardRef
component. https://github.com/rescript-lang/rescript-compiler/pull/6718
es6
and es6-global
is deprecated in favor of esmodule
. https://github.com/rescript-lang/rescript-compiler/pull/6709
Published by cknitt 7 months ago
dict
type. Fixes issues around inference. https://github.com/rescript-lang/rescript-compiler/pull/6707
Published by cknitt 7 months ago
Published by cknitt 7 months ago
@deriving(accessors)
outputting curried functions in uncurried mode. https://github.com/rescript-lang/rescript-compiler/pull/6687
Published by cknitt 7 months ago
undefined
in external function calls for trailing optional arguments when not supplied. https://github.com/rescript-lang/rescript-compiler/pull/6653
Published by cknitt 8 months ago
select * from ${table} where id = ${id}
). https://github.com/rescript-lang/rescript-compiler/pull/6645
Published by cknitt 8 months ago
@module()
. https://github.com/rescript-lang/rescript-compiler/pull/6599
<mj-column>
). https://github.com/rescript-lang/rescript-compiler/pull/6609
Elements
from DOM
. https://github.com/rescript-lang/rescript-compiler/pull/6606
jsxConfig
. https://github.com/rescript-lang/rescript-compiler/pull/6606
Published by cknitt 9 months ago
sql`select * from ${table}
. https://github.com/rescript-lang/rescript-compiler/pull/6250
dict
is now a builtin type. https://github.com/rescript-lang/rescript-compiler/pull/6590
Published by cknitt 9 months ago
Not_found
instead of giving a proper error message. https://github.com/rescript-lang/rescript-compiler/pull/6574
Published by cknitt 9 months ago
ReScript's second major community-driven release is out and comes packed with new features and improvements! 🎉
Published by cknitt 9 months ago
@deriving(accessors)
outputs. https://github.com/rescript-lang/rescript-compiler/pull/6537
.res.js
. https://github.com/rescript-lang/rescript-compiler/pull/6541
Published by cknitt 10 months ago
rescript
command the same as the rescript build
command, so now you can do rescript -w
. https://github.com/rescript-lang/rescript-compiler/pull/6524
Belt.Result.Ok
and Belt.Result.Error
constructors in rc.5. https://github.com/rescript-lang/rescript-compiler/pull/6514
@as
in labels in uncurried externals, which was broken. https://github.com/rescript-lang/rescript-compiler/pull/6527
Published by cknitt 11 months ago
@genType.as("alias")
output. https://github.com/rescript-lang/rescript-compiler/pull/6509
Published by cknitt 11 months ago
result
introduced in rc.5. https://github.com/rescript-lang/rescript-compiler/pull/6464
@as("0")
. https://github.com/rescript-lang/rescript-compiler/pull/6487