paulhoule/ferocity
View on GitHub ↗ ★ 6 Java
Write Java expression trees, statements, methods and classes with a LISP-like internal DSL
14 mentions on Hacker News by 1 person: 0 stories, 14 comments · first 2022-02-10 · latest 2025-06-27
20082026
-
…is a little ugly but it works. I did some experiments towards this to convince myself it would work https://github.com/paulhoule/ferocity/blob/main/ferocity0/sr... had I really kept at it I would have bootstrapped by developing a ferocity0…
comment by PaulHoule · 2025-06-27 · in A Lisp adventure on the calm waters of the dead C (2021) -
…never conflict with other people's code because they're too afraid to use these characters, etc. https://github.com/paulhoule/ferocity/blob/main/ferocity-std... People will ask "how do you enter those characters?" and I say "I don't know…
comment by PaulHoule · 2024-09-09 · in Bitten by Unicode -
…facility that made "objects" backed by RDF triples) In Java I did enough hacking on this project https://github.com/paulhoule/ferocity/blob/main/ferocity0/sr... to conclude I could create something that people who think "Java Sux" and…
comment by PaulHoule · 2024-09-06 · in Achieving high Python performance with code generation (2022) -
For a few years I've tried some crazy experiments towards metaprogramming in Java https://github.com/paulhoule/ferocity my plan there was to write ferocity0 in Java that is able to stub out the standard library and then write ferocity1 in…
comment by PaulHoule · 2024-07-25 · in Defense of Lisp macros: The automotive field as a case in point -
…API that builds up something like S-expressions with typed static imports, here is some sample code https://github.com/paulhoule/ferocity/blob/main/ferocity0/sr... The plan was to write a ferocity0 sufficient to write a code generator that…
comment by PaulHoule · 2024-06-26 · in The plan-execute pattern -
…on a "Homoiconic Java", enough to generate stubs for Java's standard library. Some tests are here https://github.com/paulhoule/ferocity/blob/main/ferocity-std... The idea is you can build up an AST with a DSL and then either generate Java…
comment by PaulHoule · 2024-05-13 · in Homoiconic Python -
…to go any further on pidove it would have involved more use of code generation and this system https://github.com/paulhoule/ferocity which was supposed to be a code generator for writing code generators, and it could code generate stubs…
comment by PaulHoule · 2023-11-03 · in Java JEP 461: Stream Gatherers -
…expressions, this lets you write Java code in a lisp-like syntax that can be metaprogrammed on: https://github.com/paulhoule/ferocity/blob/main/ferocity-std... that project got me thinking a lot about the various ways types manifest in…
comment by PaulHoule · 2023-07-08 · in TypeScript please give us reflection/runtime types -
…on some sudden inspiration, of which https://github.com/paulhoule/pidove came to completion but https://github.com/paulhoule/ferocity probably won't. The project I'm working the hardest on now is something that I was baffled that it didn't…
comment by PaulHoule · 2023-03-10 · in Overinspired? -
It has a sibling project which is still half-baked https://github.com/paulhoule/ferocity which is about developing a lispy DSL in which it is possible to write Java-in-Java to transform it to make syntactic macros. It's kinda crazy…
comment by PaulHoule · 2023-03-09 · in JDK 20 and JDK 21: What we know so far -
I have hacked off and on on this https://github.com/paulhoule/ferocity which lets you write extended Java in a lispy syntax. It generates stubs for the standard library and other packages you choose, unerasing types by putting them into…
comment by PaulHoule · 2023-01-31 · in Typed Lisp, A Primer (2019) -
There is this project https://github.com/paulhoule/ferocity/ which I might finish up when I'm done with the report I'm writing. It is possible to create Java expression trees with trees of static method calls that look a lot like…
comment by PaulHoule · 2022-08-06 · in Byte Magazine: LISP (1979) -
…programming language because it supports Procedural SQL. I was also hacking on this project https://github.com/paulhoule/ferocity/ which was about making Java homoiconic. Namely in ferocity you can write Expression<String> literal =…
comment by PaulHoule · 2022-04-18 · in Ask HN: What Happened to Lambda-the-Ultimate.org? -
…style but could be more of a challenge to compile to source code. Some source code is here https://github.com/paulhoule/ferocity It's been a long time since I worked on it and I need to see if I have more notes explaining the plan behind…
comment by PaulHoule · 2022-02-10 · in The Number Guessing Game Written in YAML as Lisp Interpreted with Python