starlark-rust
.tmux
starlark-rust | .tmux | |
---|---|---|
9 | 21 | |
623 | 21,175 | |
2.7% | - | |
9.8 | 7.2 | |
15 days ago | 5 days ago | |
Rust | Shell | |
Apache License 2.0 | MIT License |
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.
starlark-rust
-
What config format do you prefer?
I haven't seen anyone mention starlark yet. It's something I want to play with as a config language.
-
loxcraft: a compiler, language server, and online playground for the Lox programming language
Aside from these, if you want some inspiration for a production-grade language built in Rust, you might want to go through the source code of Starlark and Gluon.
-
Launch HN: Moonrepo (YC W23) – Open-source build system
There is also a Rust implementation of Starlark as a starting point https://github.com/facebookexperimental/starlark-rust
To add to everyone else, please don't use YAML. Starlark is great _precisely_ because it is a readable, well known (nearly Python) language that is limited at the same time (no unbounded for loops, no way to do non-deterministic things like get the current time or `random()`).
-
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.
[1]: https://github.com/facebookexperimental/starlark-rust
-
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.
.tmux
- Advice to be more efficient with the terminal?
-
Why is that when I'm inside tmux $XDG-*-DESKTOP became unset?
No I didn't condigure any of it and I"m using oh my tmux conf.
-
What's the oldest version of tmux you're actively using?
Oh my tmux! requires tmux 2.4+ and I would like to figure out what's oldest version of tmux people are actively using.
-
Guide to TMUX - Terminal That Remembers Everything
Here's a good source for more in-depth tuning .tmux.conf
-
Getting Started with Tmux
Looks like no one has mentioned https://github.com/gpakosz/.tmux
You still need to learn the basics but this lowers the learning curve a lot.
-
Help!
Totally! Lately (this last year or so) i am also using this on top of tmux https://github.com/gpakosz/.tmux I don't knmow if you know it, its very close to the old configuration I worte myself, but with more colors :P
-
Emacs running under screen on a Mac, going underline-crazy, and driving me crazy
To get started with a decent tmux setup, start here: https://github.com/gpakosz/.tmux
-
Can you share your vim story?
- [-] The journey has began at some time 2020 - [x] Getting boring with `atom`, `vscode`, `sublime`. Why? 1. Too slow on managing projects, each project takes **2GB** storage 2. `atom` and `vscode` are electron-based app, so it's heavy 3. Sublime is quite good, but heavily on indexing project's files - [x] Try `vim`, doing `vimtutorial`, getting struggled and ... struggled with the new ugly motions `hjkl` - [x] Few weeks passed, still getting struggled with vim - [x] Retried with `doom emacs`, but with vim bindings. Doom also supports many cool plugins - [x] Wao, `doom` is cool, project management is super cool, searching is blazing fast too - [x] Keep trying `doom`, for few weeks - [-] Then, getting boring with `doom`, it's basically emacs with vi-binding layer - [x] Retry `vim` with `bootstrap` [config](https://vim-bootstrap.com/) - [x] After ~2 months, the vim feeling is much better - [x] Add some plugins: `fzf`, session management, `grep/ack` search - [x] Add lsp [coc](https://github.com/neoclide/coc.nvim) - [x] Add/play with more plugins, yay yay yay !!! - [x] `tpope` plugins are such amazing - [x] Try `tmux`, hmm, quite good - [x] Use this awesome `tmux` [config](https://github.com/gpakosz/.tmux) - [-] 2020-07-23 Start doing a personal dotfiles - [x] Keep using `vim` + `tmux` - [x] Move to `neovim` 0.4.0, then `0.5.0+` - [x] Start note-taking with `vimwiki`, then with other plugins - [-] Try `roam`, `obsidian` - [-] Stop using `vimwiki`, not sure what happened ??? Maybe boring mainly - [o] 2022-{01..06} Try other wiki tools, `taskwarrior`, `todoist`, and `orgmode` - [o] Still getting struggled on how to note-taking
-
I did a very stupid thing and I need to share/vent
And if you use tmux, https://github.com/gpakosz/.tmux configures SSH integration for you.
-
Tmux hangs after SSH at git credential entry screen - pinentry-curses
I use this popular config. Running Ubuntu Server. I am using Git Credential Manager with pinentry-curses.
What are some alternatives?
cue - CUE has moved to https://github.com/cue-lang/cue
nerd-fonts - Iconic font aggregator, collection, & patcher. 3,600+ icons, 50+ patched fonts: Hack, Source Code Pro, more. Glyph collections: Font Awesome, Material Design Icons, Octicons, & more
cue - The home of the CUE language! Validate and define text-based and dynamic configuration
nord-rofi-theme - An arctic, north-bluish clean and elegant rofi color theme.
wasmtime - A fast and secure runtime for WebAssembly
catppuccin - 😸 Soothing pastel theme for the high-spirited!
zellij - A terminal workspace with batteries included
spaceship-prompt - :rocket::star: Minimalistic, powerful and extremely customizable Zsh prompt
Tmuxinator - Manage complex tmux sessions easily
TUI-ConsoleLauncher - Linux CLI Launcher for Android
inkwell - It's a New Kind of Wrapper for Exposing LLVM (Safely)
tab-rs - The intuitive, config-driven terminal multiplexer designed for software & systems engineers