gleam
pest
Our great sponsors
gleam | pest | |
---|---|---|
83 | 41 | |
5,282 | 4,006 | |
2.0% | 1.8% | |
0.0 | 0.0 | |
7 days ago | 9 days ago | |
Rust | Rust | |
Apache License 2.0 | Apache License 2.0 |
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.
gleam
- Unpacking Elixir: Resilience
-
Erlang/OTP 26.1 Released
If you don’t like the syntax highly recommend giving https://gleam.run a try
-
Elixir for Cynical Curmudgeons
If you're a fan of the ecosystem, but not of dynamic types, there are statically typed languages on BEAM, eg Gleam (https://gleam.run/)
-
Async rust – are we doing it all wrong?
Keep an eye on gleam lang if you’re not already. It’s a language with an ML inspired type system (like rust) that compiles to erlang. It is likely too nascent to be used in production (in terms of tooling, ecosystem, stability, etc).
- I hereby officially announce the Elixir type system effort is into development
-
Elixir and Rust is a good mix
As it usually goes in programming, "it depends on your objectives", there are things that are easier accomplished with the ErlangVM than Rust. Also, if you want a language that uses the ErlangVM and has static types, maybe you should take a look at Glean[1].
In my case I prefer to work with Elixir because of the community, I find way easier to work professionally with Elixir than many other languages, as mostly projects follows the same good practices, use the same tools and have good documentation.
[1] - https://gleam.run/
> I used to use Elixir, but the lack of static types got to me (especially since I prefer the type-driven development methodology).
You might be interested in Gleam[1].
-
Virtual Threads Arrive in JDK 21, Ushering a New Era of Concurrency
https://gleam.run is a statically typed language on the BEAM
-
What library or tool is causing you the most pain right now?
Gleam is a BEAM language that's statically typed.
-
Would you still choose Elixir/Phoenix/LiveView if scaling and performance weren’t an issue to solve for?
Dynamic typing does have its issues but is fairly manageable particularly with pattern matching. It has its tradeoffs. If you prefer static typing you could take a look at Gleam.
pest
-
Jasmine, A rust-like programming language that compiles to Java
I had recently completed the first year of my Computer Science class at school and will begin my second year soon. My schools' class forces the use of Java programming language, and I absolutely hated it. So, over the course of a little less than a month, I wrote my own programming language, in Rust (objectively best programming language), using pest, to be as similar to Rust as possible, but compiling to Java.
-
What is the state of the art for creating domain-specific languages (DSLs) with Rust?
I second pest.rs. Using it is fairly intuitive and there's also a live playground on their website which is great for quickly developing and testing your AST (abstract syntax tree) parser for whatever language you're implementing.
I’ve been using pest for my own dsl resently. Couldn’t say if it’s state of the art or not, but it is definitely useful. https://pest.rs
-
easy way to produce a parser
Give https://pest.rs a try.
- Is there a parsing library (lexer?) which can handle generic tokens?
-
Thoughts on reimplementing an old MIDI scripting language in rust.
Maybe Pest or Nom for parsing the language.
-
Template Engine with Rust and Regex?
I haven't written any template engines, but I imagine you'd want to use a proper parser generator like nom, pest, etc. to get the statefulness you need. As the famous StackOverflow answer says, you can't parse a non-regular language with a regular expression... or at least not the kind of "no lookahead/lookbehind" regex engine Rust uses.
-
How to read binary files from the end in Rust?
But personally I would recommend something like Pest (which is still fairly popular). (Creates)
-
Advice for a web app with 3d rendering
This was in C, and there it's a pointer arithmetic nightmare. Also, this was before I had any education in writing parsers. These days I'd probably just use a parser generator like pest.
-
An HTTP request parser with rust and pest.rs
To write our grammar we will use pest. From the website:
What are some alternatives?
nom - Rust parser combinator framework
lalrpop - LR(1) parser generator for Rust
rust-peg - Parsing Expression Grammar (PEG) parser generator for Rust
are-we-fast-yet - Are We Fast Yet? Comparing Language Implementations with Objects, Closures, and Arrays
pom - PEG parser combinators using operator overloading without macros.
web3.js - Ethereum JavaScript API
combine - A parser combinator library for Rust
chumsky - Write expressive, high-performance parsers with ease.
Rustler - Safe Rust bridge for creating Erlang NIF functions
chomp - A fast monadic-style parser combinator designed to work on stable Rust.
zero - A Rust library for zero-allocation parsing of binary data.
hamler - Haskell-style functional programming language running on Erlang VM.