lflat
one-more-re-nightmare
Our great sponsors
lflat | one-more-re-nightmare | |
---|---|---|
1 | 11 | |
7 | 133 | |
- | 0.8% | |
0.0 | 4.2 | |
almost 2 years ago | 9 months ago | |
Logtalk | Common Lisp | |
MIT License | BSD 2-clause "Simplified" 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.
lflat
We haven't tracked posts mentioning lflat yet.
Tracking mentions began in Dec 2020.
one-more-re-nightmare
-
When a young programmer who has been using C for several years is convinced that C is the best possible programming language and that people who don't prefer it just haven't use it enough, what is the best argument for Lisp vs C, given that they're already convinced in favor of C?
One trick is that Common Lisp can generate and compile code at runtime, whereas static languages typically do not have a compiler available at runtime. This lets you make your own lazy person's JIT/staged compiler, which is useful if some part of the problem is not known at compile-time. Such an approach has been used at least for array munging, type munging and regular expression munging.
-
Tutorial Series to learn Common Lisp quickly
> One of my favorite examples is the regex library cl-ppcre. Thanks to the nature of Lisp, the recognizer for each regex you create can be compiled to native code on compiler implementations of CL.
That is not true - cl-ppcre generates a chain of closures. Experimental performance is in the same ballpark as typical "bytecode" interpreting regex implementations.
(Disclosure: I wrote another regex library at <https://github.com/telekons/one-more-re-nightmare>, which does do native code compilation.)
-
The self-hosted Zig compiler can now successfully compile itself
Someone else didn't tell me that before, so it can't be true. But I don't publish papers on toys, nor do I think toy projects are awfully fast. Though the x86-64 backend I wrote was in someone else's repository and thus was several PRs :(
-
Most interesting languages to learn (from)?
Regular expressions
-
Why You Should Learn Lisp In 2022?
A Common Lisp system has the compiler around at runtime, so if you can figure out how to profitably stage/specialise a computation, then you can roll your own cheap JIT of sorts. This can be useful for array munging and regular expressions at the least. You can do this in C, of course but you would need to use another compiler as a library (e.g. LLVM, TCC, libgccjit) or write your own (e.g. PCRE2's sljit).
-
The one-more-re-nightmare regular expression compiler
It's all part of the library. Everything about regular expression types is in this file.
-
[Question] Projects Ideas For the Slightly Unmotivated
Write a faster regex engine? Admittedly regular expression engines tend to be fast enough, but if you can use macros and compiling at runtime to compile them (indirectly) to machine code, they can go faster than fast enough.
What are some alternatives?
Revise.jl - Automatically update function definitions in a running Julia session
zig - General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.
cl-ppcre - Common Lisp regular expression library
SICL - A fresh implementation of Common Lisp
julia - The Julia Programming Language
oakc - A portable programming language with a compact intermediate representation
Petalisp - Elegant High Performance Computing
OhMyREPL.jl - Syntax highlighting and other enhancements for the Julia REPL
paip-lisp - Lisp code for the textbook "Paradigms of Artificial Intelligence Programming"
awesome-lisp-companies - Awesome Lisp Companies
hy - A dialect of Lisp that's embedded in Python
conjure - Interactive evaluation for Neovim (Clojure, Fennel, Janet, Racket, Hy, MIT Scheme, Guile, Python and more!)