fslang-design
rescript-compiler
fslang-design | rescript-compiler | |
---|---|---|
19 | 97 | |
508 | 6,498 | |
2.0% | 1.3% | |
6.5 | 9.5 | |
3 days ago | 4 days ago | |
F# | OCaml | |
- | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
fslang-design
-
My Thoughts on OCaml
The C# compiler got a ton of new smarts around reference type nullability and almost all of the BCL (.NET standard library) got annotated for it. I don't know when F# will finally pick up all the new compile-time smarts for Nullable Reference Types, but it has been proposed and prototyped, at least [1].
[1] https://github.com/fsharp/fslang-design/blob/main/RFCs/FS-10...
-
Drawbacks of adding 'Interfaces with static abstract members' in F#
Note: For some reason I cant submit the Url with the specific section of the Drawbacks section, but it is here https://github.com/fsharp/fslang-design/blob/main/FSharp-7.0...
- Drawbacks of adding Interfaces with static abstract members in F#
- What are the features you're looking forward to in the next version of Fsharp?
-
Is there a market for a complete fsharp ORM library?
Does type provider still only support literal strings for definition, right? Supporting records could make it feasible to create something really good as just a side project. I remember suggestions to allow taking record/types but can't find the gh issue or related. Found the rfc. Seems abandoned. It could be a game changer. :(
-
How do I use voptions in active patterns in F# 6?
But, when I try this example from the RFC, I get an "expected option but here has type voption" error.
-
F# Weekly #42, 2021 – .NET 6 RC2 and What’s new in F# 6.0
Add insert/remove/update functions for collections, also Keys/Values for Map
- RFC FS-1110,1111 - "index syntax (expr[idx] instead of expr.[idx]) and ref cell op deprecation (.Value instead of !)" has been merged into the F# compiler and will be available starting the next .NET 6 release candidate.
-
What are your thoughts about the standard library?
This is https://github.com/fsharp/fslang-design/blob/main/RFCs/FS-1079-union-properties-visible.md
-
Is there a way to connect RFCs <-> PRs <-> targeted F# releases <-> release dates?
Someone writes an RFC about the approved-in-principle suggestion with more details and opens a pull request to https://github.com/fsharp/fslang-design.
rescript-compiler
- Borgo is a statically typed language that compiles to Go
-
Tired of Typescript? Check out ReScript!
ReScript is a fully typed language with an easy to understand JS like syntax, blazing fast compiler, that compiles to JavaScript. You can easily drop it into an existing project, and there is even a way to generate TypeScript types if you want to add it to a TypeScript project!
-
Learning Elm by porting a medium-sized web front end from React (2019)
If you’re a front-end developer, you should checkout ReScript[1], supposedly a JS-oriented successor of ReasonML and developed by the ReasonML team.
[1] https://rescript-lang.org/
-
ReScript: Rust like features for JavaScript
ReScript is "Fast, Simple, Fully Typed JavaScript from the Future". What that means is that ReScript has a lightning fast compiler, an easy to learn JS like syntax, strong static types, with amazing features like pattern matching and variant types. Until 2020 it was called "BuckleScript" and is closely related to ReasonML.
-
Ask HN: Interest in a Rust-Inspired Language Compiling to JavaScript?
As another commenter has already suggested, ReasonML has a lot of what you described here.
However, modern JS-oriented toolchain for ReasonML is called ReScript and you can learn more here: https://rescript-lang.org/
-
How does one write React apps in a purely functional style without making the entire codebase a mess?
ReScript (before BuckleScript) https://rescript-lang.org/ is a functional language that can also use OOP. Ideal for Javascript and Typescript projects, React and servers. It integrates perfectly with Javascript and Typescript code https://rescript-lang.org/docs/react/latest/introduction
-
Show HN: EdgeDB Cloud and 4.0 with FTS and Auth
Thank you!
We invited Gabriel because we think what he's building is pretty cool. It showcases so much about EdgeDB: its type system, data model, query language, composability, introspection, etc.
I'm not a ReScript user myself. What I know is that it's a functional programming language somewhat heavily inspired by OCaml. Their website goes into details [1]
[1] https://rescript-lang.org/
-
Strong typing, a hill I'm willing to die on
You might want to look into ReScript (https://rescript-lang.org/). It has strong static typing with type inference, and it is very fast.
-
Building React Components Using Unions in TypeScript
This is because a “Tagged Union”, another word for TypeScript’s Discriminated Union, is a way to “tag which one is in use right now… we check the tag to see”. Just like when you’re shopping and check the tag of a piece of clothing to see what the price is, what size it is, or what material it’s made out of. Languages like ReScript compile many of their Unions (called Variants) to JavaScript Objects that have a tag property.
-
Converting a JavaScript React app to a ReScript React app.
ReScript is "Fast, Simple, Fully Typed JavaScript from the Future". Let's take a look at how we can add it to an existing React project.
What are some alternatives?
fslang-suggestions - The place to make suggestions, discuss and vote on F# language and core library features
svelte-wasm
VisualFSharp - The F# compiler, F# core library, F# language service, and F# tooling integration for Visual Studio
Elm - Compiler for Elm, a functional language for reliable webapps.
intellij-community - IntelliJ IDEA Community Edition & IntelliJ Platform
TypeScript - TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
LiteDB.FSharp - Advanced F# Support for LiteDB, an embedded NoSql database for .NET with type-safe query expression through F# quotations
Fable: F# |> BABEL - F# to JavaScript, TypeScript, Python, Rust and Dart Compiler
SQLProvider - A general F# SQL database erasing type provider, supporting LINQ queries, schema exploration, individuals, CRUD operations and much more besides.
purescript - A strongly-typed language that compiles to JavaScript
resharper-rider-plugin - https://www.jetbrains.com/help/resharper/sdk/
reason - Simple, fast & type safe code that leverages the JavaScript & OCaml ecosystems