rustyline
opencascade.js
rustyline | opencascade.js | |
---|---|---|
12 | 9 | |
1,459 | 547 | |
- | - | |
7.5 | 4.4 | |
19 days ago | 9 months ago | |
Rust | Python | |
MIT License | GNU Lesser General Public License v3.0 only |
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.
rustyline
-
Ghee 0.4 - The tastiest way to work with Linux extended attributes (xattrs)
This latest release adds a Rustyline-based REPL and additional tools for using the filesystem as a relational database. The new init subcommand lets you declare the primary key by which a directory (and its subdirectories) are indexed, while ins and del now allow insertion and deletion of records while keeping related indices up to date. ls is helpful in the REPL, showing Ghee's view of the world.
-
Is there an equivalent Rust crate?
That what gnu readline is good at, interpreter like interface. There is also this one https://github.com/kkawakam/rustyline
-
I wrote a scheme in Rust called Marwood
In the process of implementing Marwood's web REPL, I ported rust's [Rustyline](https://github.com/kkawakam/rustyline) readline library to an Xterm.js typescript addon called [xterm-readline](https://github.com/strtok/xterm-readline/).
-
Hey Rustaceans! Got a question? Ask here! (43/2022)!
There is rustyline, which is a readline implementation. It supports line editing in emacs or vi mode (selectable). I don't know if it can operate on two strings as input, but if your program takes input from a terminal, this could be what you are looking for.
-
Why are crate docs a pain in the ass to understand usage?
Not sure if it will help in this case (docs always take effort to write and make good), but most crates have an examples directory in the root of their repo which can be helpful in the absence of guide-level docs https://github.com/kkawakam/rustyline/tree/master/examples
-
Storing user input as array
https://crates.io/crates/rustyline - readline clone in Rust
-
Is there any way to communicate with a running binary in terminal?
https://github.com/kkawakam/rustyline (literally, input a command)
-
Version 1.5.0 released.
Also based on popular demand, the REPL tool now uses a slightly enhanced version of rustyline for line editing and history.
-
Where to find more thorough Rust docs
it is also worth checking if library contains examples. this one does.
-
Hey Rustaceans! Got an easy question? Ask here (45/2021)!
Maybe try reedline or rustyline and see if they meet your needs?
opencascade.js
-
Is there a tutorial for making a CAD tool with Three.js?
For proper CAD in browser, you'd need something like opencascadejs. I've integrated it to Polygonjs, here is an example scene, and a video intro
- Fornjot: A next-generation Code-CAD application
- Opencascade.js:Port of the OpenCascade Library to JavaScript/WebAssembly
- GitHub - donalffons/opencascade.js: Port of the OpenCascade library to JavaScript / WebAssembly using Emscripten
- Opencascade.js – Port of OpenCascade 3D CAD Kernel to JavaScript / WASM
-
CadQuery –- A Python parametric CAD scripting framework based on OCCT
That confirms the impression I had, I guess they are just so complex that building a new open source one from scratch would be Herculean effort. Guess OCCT is the only option for now.
The itch I would love to scratch is an online real-time collaborative parametric cad app using CRTDs. Current thinking is combining OpenCascade compiled to WASM [0] with Yjs[1], but frankly don’t have the time.
0: https://github.com/donalffons/opencascade.js/
1: https://github.com/yjs/yjs
- Opencascade.js: Port of OpenCascade CAD Library to JavaScript and WebAssembly
-
Hey Rustaceans! Got an easy question? Ask here (45/2021)!
Can I access a library that is compiled to WASM (e.g. openCascade.js) directly from a rust client web app that runs in the browser? The library is lgpl so I'd want to "dynamically link" to it.
What are some alternatives?
linefeed - Configurable, extensible, interactive line reader
rust - Empowering everyone to build reliable and efficient software.
rust-copperline - Pure-Rust Command Line Editing Library
Kind - A next-gen functional language [Moved to: https://github.com/Kindelia/Kind2]
liner - A readline-like library in Rust.
EngrCAD
reedline - A feature-rich line editor - powering Nushell
CQ-editor - CadQuery GUI editor based on PyQT
duct.rs - a Rust library for running child processes
truck - Truck is a Rust CAD Kernel.
rustgenhash - CLI tool written in Rust which can be used to generate hashes
fornjot - Early-stage b-rep CAD kernel, written in the Rust programming language.