langs
Carp
Our great sponsors
langs | Carp | |
---|---|---|
185 | 84 | |
82 | 5,393 | |
- | 0.2% | |
9.3 | 0.7 | |
4 days ago | about 1 year ago | |
C | Haskell | |
- | Apache License 2.0 |
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.
langs
- How does the compiler know that an already typedefed ident is meant to be a new declarator?
- What makes a language easy for writing a parser?
- Automatic import of C headers —how to deal with macros?
- Register Window in a Stack VM Interpreter
-
A challenge: 52 languages in 52 weeks
Well, I only wrote a few dozen lines in each. (Those benchmarks I wrote are here, all in one file; scroll through to find them. Those two will be at the end.
-
'Switch' and 'Computed Goto'
Next I tried writing a custom C program just for the VM execute function; mostly this was a framework machine-generated from my interpreter, with the handlers necessary filled in manually.
This is my doswitch/u-based test program, a mini-interpreter executing a loop.
-
Is it possible to optimize this bytecode interpreter more?
Actually the next thing I did after trying svm.c was to port it to my systems language to see how my compiler managed with it. (Source is here.)
-
Where are the C Alternatives?
I have taken something away from Forth which is the (a--b) notation that describes the stack behaviour. I use it in these early docs of my IL here.
- Langception IV: I wrote BASIC in Charm, which I also wrote.
Carp
- How to Write a (Lisp) Interpreter (In Python)
-
Roc – A fast, friendly, functional language
Carp - https://github.com/carp-lang/Carp - "A statically typed lisp, without a GC, for real-time applications." where it's "Ownership tracking enables a functional programming style while still using mutation of cache-friendly data structures under the hood".
-
Ask HN: Looking for statically typed, No-GC and compiled Lisp/scheme
Looking for a personal project so open-source would be great, but maturity/production readiness is not really a factor.
The only significant thing i can find so far is https://github.com/carp-lang/Carp.
Anything notable that i might have missed ?
-
Lisp in Space
Not CL, but there is ulisp (http://www.ulisp.com/) for microcontrollers, supposed to be really tiny, and there is Carp (https://github.com/carp-lang/Carp) which is without a GC so seems suitable for real-time stuff.
- Good languages for writing compilers in?
-
Emerging Rust GUI libraries in a WASM world
Everybody is trying to make a more user-friendly Rust. The problem is that it is not clear yet whether that's possible, and if it is, how it may look. I know Vale and have tried it, though it's extremely early to judge anything so far. It does have a much stronger theoretical background than V, but even the theory is not completely clear at this point.
There is also Carp by the way: https://github.com/carp-lang/Carp
-
Microsoft rewriting core Windows libraries in Rust
(Carp)[https://github.com/carp-lang/Carp]
-
Lexer in Haskell
Carp (parser source code)
-
Carp lang: statically typed Lisp, no GC
Found this page to be a nice intro to the syntax and semantics:
https://github.com/carp-lang/Carp/blob/master/docs/LanguageG...
I'm excited about Carp's comprehensive and well documented[1] interoperability with C, which unlocks lots of potential for interfacing with existing libraries.
Tim Dévé has even created a game for the Nintendo Game Boy Advance by using Carp's C interoperability; you can play an emulated version online[2].
[1]: https://github.com/carp-lang/Carp/blob/master/docs/CInterop....
What are some alternatives?
awesome-lisp-companies - Awesome Lisp Companies
ferret - Ferret is a free software lisp implementation for real time embedded control systems.
sectorlisp - Bootstrapping LISP in a Boot Sector
Fennel - Lua Lisp Language
femtolisp - a lightweight, robust, scheme-like lisp implementation
prolog-to-minizinc - A Prolog-to-MiniZinc translator
hy - A dialect of Lisp that's embedded in Python
babashka - Native, fast starting Clojure interpreter for scripting
mirage - MirageOS is a library operating system that constructs unikernels
trivial-gamekit - Simple framework for making 2D games
nim-esp8266-sdk - Nim wrapper for the ESP8266 NON-OS SDK
Nim - Nim is a statically typed compiled systems programming language. It combines successful concepts from mature languages like Python, Ada and Modula. Its design focuses on efficiency, expressiveness, and elegance (in that order of priority).