Hacker GitHub

← All repos

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

Mentions per year 14 mentions · busiest year 2023 (5)
20082026
  1. …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…
  2. …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
  3. …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…
  4. 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…
  5. …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
  6. …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
  7. …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
  8. …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…
  9. …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?
  10. 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
  11. 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)
  12. 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)
  13. …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 =…
  14. …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…