arc | elf | |
---|---|---|
3 | 1 | |
10 | 2 | |
- | - | |
0.0 | 5.1 | |
over 6 years ago | about 2 years ago | |
Arc | Lua | |
GNU General Public License v3.0 or later | 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.
arc
- Ask HN: Is there a technical writeup on the implementation of Hacker News?
-
The project with a single 11,000-line code file
Ironically, this is a description of hacker news itself. https://github.com/shawwn/arc/blob/arc3.1/news.arc
It’s important to realize that this is good design. It’s hard to separate yourself from the time you live in, but the rewards are worthwhile.
-
The complexity that lives in the GUI
Fair! I think we just have different perspectives. HN is enormously complex (it has far more complexity than most people realize or truly appreciate), yet it handles every case without any state machine: https://github.com/shawwn/arc/blob/arc3.1/news.arc
And it's nothing but a long list of functions that use closures.
elf
-
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".
What are some alternatives?
flre - FLRE - Fast Light Regular Expressions - A fast light regular expression library
fpc
TypeScript - TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
tetgen - This is a mirror of the latest stable version of Tetgen.
TypeScript-Compiler-Notes - A repo containing notes about the TypeScript Compiler codebase
SheetJS js-xlsx - 📗 SheetJS Spreadsheet Data Toolkit -- New home https://git.sheetjs.com/SheetJS/sheetjs
leo-editor - Leo is an Outliner, Editor, IDE and PIM written in 100% Python.
kubernetes - Production-Grade Container Scheduling and Management