c-mera
chibi-scheme
Our great sponsors
c-mera | chibi-scheme | |
---|---|---|
7 | 7 | |
383 | 1,169 | |
- | - | |
0.0 | 7.3 | |
over 1 year ago | about 1 month ago | |
Common Lisp | Scheme | |
GNU General Public License v3.0 or later | GNU General Public License v3.0 or later |
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.
c-mera
-
Submissions to Spring Lisp Game Jam 2023
Arguably Pacman Clone - it uses WISP (non s-exps syntax for any lisp) + C-Mera which is some kind of mix of C and CL, and is written mostly in CL.
-
Is there a language with lisp syntax but C semantics?
c-mera does exist.
-
jc - Meta-program C/C++ with JavaScript
Thanks, you're right. I chose JS because it is so well-known, but I think it does have some other advantages as well. For example, if you need to run a lot of compatibility test commands, or need to generate code via external programs, or even make network requests to get config values or something, you can do all of that in parallel with JS async instead of sequentially like configure. You might find https://github.com/kiselgra/c-mera interesting. It's similar to this project but uses Lisp and a unified syntax.
-
Generate C code
I used https://github.com/kiselgra/c-mera for this purpose and it worked very well.
-
Carp – A statically typed Lisp, without a GC, for real-time applications
That's a Lisp preprocessor for a non-Lisp language.
If you program in C using the Common Lisp c-mera preprocessor, or any of the other similar systems, it's the same thing.
You're writing everything in S-exps, and the expansions use conses, but the output is C; so that of course cannot call cons at run time.
https://github.com/kiselgra/c-mera
-
Syntatic Sugar that compiles to C
even more interesting are the handful of projects layering lisp style macros on top of C. i've seen several go by over the years; a quick google search brought up c-mera and cmacro.
-
Alternative to ECL?
If you look for lisp-like syntax in C: - cmera https://github.com/kiselgra/c-mera
chibi-scheme
-
Debugging Compilers in Clojure
Your core point is absolutely true about how Lisp is special in that it usually provides a read procedure to turn a textual type into a native object that can be evaluated (this is a side effect of homoiconicity, so any homoiconic language will have this property too), but I have one additional nitpick to make ontop of yours:
> [...] eval can take any lisp object and evaluate it.
eval cannot be generalized to accepting any Lisp object, only specifically symbolic expressions (symbols, or lists (potentially nested) of symbols). I discovered this because I thought Chibi Scheme was throwing a warning for valid code[0] to inject a value into an expression for eval, but Marc helped me understand that the warning was correct, because Scheme only specifies what eval does for symbolic values.
[0] https://github.com/ashinn/chibi-scheme/issues/902
- Chibi-Scheme: a small library intended for in C programs
-
I don't want to go to Chel-C
I think a VM for a small, but highly abstract, language like Scheme might address the objections of the author(s) of this article. You might like Chibi-Scheme: https://github.com/ashinn/chibi-scheme
Having said that, IMO, if you're having fun with uxn and its retro 8-bit aesthetic, by all means keep going with that.
- Chibi Scheme – Minimal Scheme Implementation for Use as an Extension Language
-
Alternative to ECL?
I would also add [chibi scheme](https://github.com/ashinn/chibi-scheme) to the C-embedded alternatives.
-
Scheme for embedding in .NET application
This one? https://github.com/ashinn/chibi-scheme I notice it's intended to be embedded in C, so it's not a perfect match.
-
What is the definition of rational? in Scheme?
Chibi-Scheme's definition is interesting:
What are some alternatives?
c2ffi - Clang-based FFI wrapper generator
cl-raylib - Common Lisp binding of raylib
mal - mal - Make a Lisp
janet-benchmarksgame - Versions of the "Computer Language Benchmarks Game" benchmarks for the Janet language.
cl-autowrap - (c-include "file.h") => complete FFI wrapper
cmacro - Lisp macros for C
accesskit - UI accessibility infrastructure across platforms and programming languages
IronScheme - IronScheme
datatype99 - Algebraic data types for C99
schemy - A lightweight embeddable Scheme-like interpreter for configuration