Gabriel Nordeborn
Gabriel Nordeborn
> Something to discuss post v12 Add support for providing "catch all" variant constructors to tagged variants, to allow capturing all non-literal discriminator cases of a variant. This lets you...
Some ideas; - Shapes, like multiple constructors with records in a single unboxed variant, where we can figure out which record is which at runtime (by checking distinct props, etc)...
This bootstrap a simple MCP for ReScript, through Rewatch. Initially it adds a single command `diagnose`, which will run quick diagnostics for a single file. Diagnostics here means that we'll...
`Js_OO` is an old internal thing that's still used by the `@this` attribute. We should find a way to get rid of it in favor of something more idiomatic.
`Papaparse.res`: ```rescript @gentype.satisfies(("papaparse", "ParseError")) type parseError = { /** A generalization of the error */ @as("type") type_: [#Quotes | #Delimiter | #FieldMismatch], /** Standardized error code */ code: [#MissingQuotes |...
Closes https://github.com/rescript-lang/rescript/issues/7386 Mostly a PoC for now, to see if it was possible to just extend the current mechanisms to this. Feedback appreciated. There are still issues to solve, but...
This introduces OCaml multicore (Eio) to the `analysis` bin, and leverages it for 2 of the editor tooling commands: - `rename` - Find all references Benching this on my local...
It seems both "find references" and "rename" does not find JSX component usage. We'll probably need some JSX heuristics here for this to really work.
Attributes and their meaning is scattered between the syntax and the compiler. We should unify these (and see which ones deserve first class representation in the AST now that we...