flre
lumen
flre | lumen | |
---|---|---|
1 | 10 | |
90 | 532 | |
- | - | |
0.0 | 0.0 | |
about 1 month ago | over 1 year ago | |
Pascal | JavaScript | |
GNU Lesser General Public License v3.0 only | 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.
flre
-
The project with a single 11,000-line code file
In Pascal that is really common, since the files are the modules. You publish your library as one file, and the user can import it by the file name.
I ran wc on FreePascal to search for some. There are a few, but not as many as I expected.
9k file, data structures for the compiler itself: https://gitlab.com/freepascal.org/fpc/source/-/blob/main/./c...
30k file: Pascal parser/scope resolver: https://gitlab.com/freepascal.org/fpc/source/-/blob/main/pac...
And the record:
119k file, Sharepoint API (but it seems to be autogenerated): https://gitlab.com/freepascal.org/fpc/source/-/blob/main/pac...
As far as libraries go, this is one of my favorites:
23k file, regular expression library: https://github.com/BeRo1985/flre/blob/master/src/FLRE.pas
I searched my own files and found a 197k file to parse HTML entities. But that was an autogenerated trie (one switch/case for each letter)
lumen
- Lumen: A Lisp for Lua and JavaScript
-
Gerbil Scheme – A Lisp for the 21st Century
I agree! That’s actually not a jeer, it’s one of my main criticisms of lisp. You don’t need lists to have lisp. In many respects it works better without them; https://github.com/sctb/lumen proves it, since hash tables and arrays are the fundamental data structure. They have to be, because that’s the only way lumen can run in JS or Lua.
Every time I can’t delete the first element of a list in lisp (I.e. del x[0] in the python sense) I get annoyed with racket.
The reason I look past it is because the benefits are so good that they outweigh the annoyances. I wouldn’t trade it away.
-
Show HN: Dak – a Lisp like language that transpiles to JavaScript
Where h is the raw function for hyperapp, not a macro.
I'd intended to develop my own mini-lisp with the same syntax, but got sidetracked by other projects. Maybe someday I'll get back to it. (Currently, I'm deep in the weeds trying to learn how to write a dependent typed language that compiles to javascript.)
[0]: https://github.com/sctb/lumen
-
“There Is No List”
It wasn’t my idea, too. It was Scott Bell’s. I’m not sure if he thought of it or got it from somewhere else, but it’s shockingly effective.
If you want to try it out for yourself, give Lumen a spin: https://github.com/sctb/lumen
-
The project with a single 11,000-line code file
> What do you develop with Arc usually?
I try to use Arc for as much as possible. We wrote our TPU monitoring software in it: http://tensorfork.com/tpus
Eventually I became frustrated with Racket's FFI. So I eventually made my own arclike language called elflang: https://github.com/elflang/elf
... which itself is a fork of Lumen (https://github.com/sctb/lumen) by Scott Bell.
The performance is good enough to run a minecraft-style game engine: https://i.imgur.com/iyr0YrB.png which was satisfying.
Nowadays I've been trying to implement Bel, mostly for the challenge of it than for any practical reason.
> I like how the "html" and "css" part was embedded in that "news.arc" file. Do you think that VIM script will highlight and lint the "css" part of an "arc" file?
Nope. https://i.imgur.com/o9aUG6j.png
But it has one very important feature: it can properly highlight atstrings: https://i.imgur.com/wO4f742.png
It's probably hard to tell, but the "@(hexrep border-color*)" would normally be highlighted as if it were a string. Arc has a feature called atstrings, where you can use @foo to reference the enclosing variable "foo". It can also call functions, e.g. "The value of 1 plus 2 is @(+ 1 2)" will become "The value of 1 plus 2 is 3".
- Lumen – self-hosted Lisp for Lua and JavaScript
-
The most misunderstood aspect of Python
Not mine! That was all Scott Bell. It's forked from Lumen: https://github.com/sctb/lumen
But, I did make an interactive tutorial here: https://docs.ycombinator.lol/
If you have any questions about it, I'd be happy to answer. This stuff is pure fun mixed with a shot of professionalism.
For what it's worth, as someone with narcolepsy, I relate quite a lot to your chronic pain. (https://twitter.com/theshawwn/status/1392213804684038150) For me, it mostly translated into wandering aimlessly from job to job, since I thought no one would have me. I hope that you find your way -- there's nothing wrong at all with taking it slow and spending years on something that takes others a few months. Everyone is different, and it's all about the fun.
-
Julia and the Incarceration of Lisp
You could go the opposite route, and run Lisp in your favorite language. Here's a Lisp in JavaScript and Lua: https://github.com/sctb/lumen
Integration is easy because there's no integration. You can just call whatever functions you'd normally call.
- Lumen, a Lisp for Lua and JavaScript
-
Just Wanted to Say Thanks
Not at all. I've been thanking Scott for making lumen every thanksgiving for several years now. https://github.com/sctb/lumen
I just close the issue immediately after opening it. :)
What are some alternatives?
tetgen - This is a mirror of the latest stable version of Tetgen.
Tailwind CSS - A utility-first CSS framework for rapid UI development.
arc
femtolisp - a lightweight, robust, scheme-like lisp implementation
elf
awesome-lisp-companies - Awesome Lisp Companies
leo-editor - Leo is an Outliner, Editor, IDE and PIM written in 100% Python.
uncap - Map Caps Lock to Escape or any key to any key
fpc
sata-license - The Star And Thank Author License(SATA License)
TypeScript - TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
stack-overflow-import - Import arbitrary code from Stack Overflow as Python modules.