corrosion
macro-lisp
corrosion | macro-lisp | |
---|---|---|
5 | 10 | |
951 | 416 | |
3.5% | - | |
8.2 | 3.9 | |
3 days ago | 11 months ago | |
CMake | Rust | |
MIT License | 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.
corrosion
-
Learn WebGPU
With reference to the section on how difficult it is to build wpgu-native and how you basically have to use a precompiled binary, there appears to be an easier way to integrate a Cargo library into a CMake project: https://github.com/corrosion-rs/corrosion
-
Lust 🦞
Already taken as a name https://github.com/corrosion-rs/corrosion
-
Advice on build system approach choice for a Rust + Fortran project?
Corrosion can help with option 1, cmake with option 2. You are on your own with option 3, so I would stay away from that.
-
Having to work with C++ made me appreciate how good Rust is.
Or you can just use one of the many solutions others have already come up with, like this cmake project I found with a minute of googling: https://github.com/corrosion-rs/corrosion
-
[Problem] Adding rust in a CMake/Cpp project using Cxx and Corrosion linker iterator debug level issue
Tools that seems reasonable to help this integration is Corrosion and Cxx.
macro-lisp
-
Bare minimum atw-style K interpreter for learning purposes
Rust’s macro system is safe and hygienic, people have implemented lisps in it. I just did a google search to find an example, so I have no idea how well supported this is, https://github.com/JunSuzukiJapan/macro-lisp
-
Lust 🦞
You can already have both: https://github.com/JunSuzukiJapan/macro-lisp
- What would be your “perfect” programming language?
-
"RIIR"
Via a lisp macro?
-
In theory, is it possible to bundle a rust-to-rust transpiler with rustc in order to make "breaking" language changes, without actually breaking anything? And how would you prove the accuracy of such a system?
Rust macros can make the language look like anything, even lisp: https://github.com/JunSuzukiJapan/macro-lisp
-
Lisp as an Alternative to Java
Why not get the best (?) of both worlds with the macro-lisp crate: https://github.com/JunSuzukiJapan/macro-lisp
A small snippet from the project's examples shows minimal boilerplate between Rust and a native-looking Lisp experience:
-
Sharing Saturday #353
After that, I'm going to go back to working on adding some scripting. My attempts at making a Lisp in Rust failed spectacularly, but when trying to find a ready made replacement that's not too big (so not RustPython and not Rhai or Dyon) I found mentions of DSL, which are usually Rust macros, which led me to https://github.com/JunSuzukiJapan/macro-lisp (single file, circa 400 lines, that does basically the whole job I want, i.e. being able to call Rust functions when I need them, e.g. from an in-game console)
What are some alternatives?
cmake-d - cmake for D2
Carp - A statically typed lisp, without a GC, for real-time applications.
cxx - Safe interop between Rust and C++
Kind2 - A next-gen functional language [Moved to: https://github.com/Kindelia/Kind]
rusty_cmake - Rust cmake integration template with corrosion and cxx
innit - A roguelike game where you play a micro organism inside a larger organism!
conan - Conan - The open-source C and C++ package manager
aplus - A+ Programming Language
vcpkg_template - Simple cmkr template to get you started with vcpkg right away.
paren-face - A face dedicated to lisp parentheses
bake - Bake, A build system for building, testing and running C & C++ projects
union - Anonymous unions in Nim