spinneret
c-mera
spinneret | c-mera | |
---|---|---|
7 | 7 | |
357 | 383 | |
- | - | |
6.8 | 0.0 | |
about 2 months ago | over 1 year ago | |
Common Lisp | Common Lisp | |
MIT License | 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.
spinneret
- Spinneret: A modern Common Lisp HTML generator
-
Submissions to Spring Lisp Game Jam 2023
Thirteen Letters - front end uses parenscript, spinneret, and cl-css; back end uses hunchentoot/hunchensocket
-
[NEW] jack is a HTML renderer library for Emacs Lisp | you might find it useful
That looks more like an Emacs Lisp equivalent to CL's Spinneret than a renderer. Quite nice, but also not quite the same use-case.
-
Looking for unopinionated HTML generator library
Obviously this is a contrived example, but the point is that I want to generate HTML from a list. I don't care about compiling, DSLs or templates, just a plain nested list. Spinneret seemed like it would fit the bill because it has the function interpret-html-tree, but then the author made the entire library only work with a set of hard-coded tags, so if my list contains the math tag (which is a standard HTML5 tag) everything fails.
- Using ELisp as an HTML templating engine
-
Experimenting with a CL/Parenscript/Svelte abomination
spinneret
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
What are some alternatives?
hunchensocket - RFC6455 compliant WebSockets for Common Lisp
c2ffi - Clang-based FFI wrapper generator
calm - Calm down and draw something, in Lisp.
cl-raylib - Common Lisp binding of raylib
with-c-syntax - C language syntax in Common Lisp
cmacro - Lisp macros for C
FXML - Secure-by-default, error-recovering XML parser and serializer in Common Lisp
chibi-scheme - Official chibi-scheme repository
jack - jack is a HTML generator library for Emacs Lisp.
janet-benchmarksgame - Versions of the "Computer Language Benchmarks Game" benchmarks for the Janet language.
LASS - Lisp Augmented Style Sheets
cl-autowrap - (c-include "file.h") => complete FFI wrapper