codespan
starlark-rust
Our great sponsors
codespan | starlark-rust | |
---|---|---|
2 | 6 | |
856 | 362 | |
- | 5.5% | |
0.0 | 9.0 | |
6 months ago | 5 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.
codespan
-
Ask HN: Who Wants to Collaborate?
Working in a GENERAL relational language (ie: not just a query one, like SQL, but general to make full apps, like python/delphi/c# + linq):
that is my attempt to resurrect the spirit of the FoxPro/dbase kind of tools.
Is on Rust, and is also my way to sharp my skills on it.
Now, I'm in the process of improve the parsing to be robust like in Rust, so i can show good error messages:
https://github.com/brendanzab/codespan
and also, hopefully, implement a solid type inference that work fine with the challenge of infer joins like "customer CROSS JOIN address".
---
The idea, long-term, is create a tool alike MS Access/FoxPro+Excel that I think could be great for a lot of companies (that are using stuff like "BigData" tools -like hadoop- when them are struggling with more fundamental issues!) and improve the condition of make business apps/analysis.
I already hear some interest when the vision is described in full, and I certain any company that use Excel/Access to deal with data and/or make business apps is anemically served by it.
The alternatives now are only for the cloud, and I instead wanna a local-first/on-premise offering...
-
Can i use rust to write my compiler??
Nice error messages (for YOUR lang) https://github.com/brendanzab/codespan or https://docs.rs/ariadne/0.1.3/ariadne/
starlark-rust
-
Benchmarking Starlark against other embedded scripting languages
This is a follow-up to Benchmarking mlua/rlua/rhai - Rust embedded scripting languages from 4mo ago; I just added the new Starlark implementation from Meta to the benchmark posted by @aleksru.
-
The Perfect Configuration Format? Try TypeScript
The Rust implementation has it as an experimental extension (https://github.com/facebookexperimental/starlark-rust/blob/m...)
-
Making an interpreter for variable length byte-code, any way to use enums for this and not just a big u8?
u/ndmitchell has been working on a Starlark interpreter. He wrote up a blog post with some thoughts about different interpreter styles. He found that in his case using fixed sized instructions was about the same as byte-encoded ones, but compiling the AST to closures was also about the same performance as well, and doesn't need an AST->bytecode compiler.
-
Can i use rust to write my compiler??
As mentioned in other comments, type system features like algebraic data types (that Rust has) are really helpful. If you want a small-but-real example of a compiler in Rust (with an optimizer etc) then the starlark-rust compiler is good.
-
Zellij – A Terminal Workspace and Multiplexer Written in Rust
If your Rust program needs a more complicated configuration (conditionals, access to APIs and so on), also look at Facebook's Starlark parser and tooling[1]. Starlark is a subset of Python used by Bazel, Buck and a few other projects.
-
New version of Rust Starlark, an implementation of a deterministic Python-like language
The Facebook post gives a nice overview. It also links out to the home page for the project at https://github.com/facebookexperimental/starlark-rust/, which has an introduction and links to what Starlark is, the crates.io link, the docs.rs link etc.
What are some alternatives?
cue - CUE has moved to https://github.com/cue-lang/cue
.tmux - 🇫🇷 Oh my tmux! My self-contained, pretty & versatile tmux configuration made with ❤️
zellij - A terminal workspace with batteries included
miette - Fancy upgrade to std::error::Error.
inkwell - It's a New Kind of Wrapper for Exposing LLVM (Safely)
Tmuxinator - Manage complex tmux sessions easily
wasmtime - A fast and secure runtime for WebAssembly
cue - The new home of the CUE language! Validate and define text-based and dynamic configuration
rust-langdev - Language development libraries for Rust
FlatBuffers - FlatBuffers: Memory Efficient Serialization Library
dhall-lang - Maintainable configuration files
vm2 - Advanced vm/sandbox for Node.js