Alternatives
Products that do what Java to PHP Compiler does
I had this crazy idea like some years ago.. I wasn't expecting it be factible, and there's still some semantic problems with this approach Anyways, the whole idea was to take some java source, generate an AST, and output it back as syntactically correct PHP. why? 50% fun + 50% exploration So I have this really basic compiler, which can roughly output its own code; what's still missing? - static vs instance detection (-> vs ::) - class' properties - method visibility - enums - inner types - annonymous classes - dealing with method overriding There's a huge gap in the semantic area (eg:…
- 1HT
2017 · blog.klipse.tech
- 2PC
2019 · peachpie.io
- 3IW
2011 · hildr.luminance.org
- 4

- 5

- 6AP
2012 · github.com
- 7AC
2010 · pyxc.org
- 8LI
2021 · github.com
- 9BY
2021 · github.com
- 10SA
Hi HN! Silk is a project I began working on approximately six months ago without any prior experience or knowledge of compiler design, and it's been a frustrating but fun learning experience. It is very much a work in progress, but I would love to hear feedback of any kind!
2020 · ajaymt.github.io
- 11PD
2011 · gist.github.com
- 12AC
2018 · npmjs.com
- 13SS
2014 · github.com
- 14EP
The eno notation language[1] now also has an official PHP library: https://eno-lang.org/php/ It features the same API and featureset as the JavaScript / Python / Ruby libraries, and also comes with the same extensive testsuite that has been growing during implementation of the other libraries, with already well over 90% coverage at the time of release. Happy to hear your feedback and answer any questions! [1] A user-friendly format for file-based content: https://eno-lang.org/
2018
- 15RA
I wanted to have a framework that would let me build web apps faster than ever before. I didn’t care if it was a little hacky or didn’t use best practices — I wanted to be able to get a multi-user application out the door in hours instead of months. I researched the CMS space for months before deciding to build something from scratch. My goal was to be 90% done building a web app once I had the static HTML and CSS finished. I’m not a big fan of building out API endpoints over and over again for every new app, fiddling with a database, or doing lots of config. What I ended up with was a…
2020
- 16AS
2017 · github.com
- 17IB
2021 · vemto.app
- 18PB
2012 · phpbestpractices.org
- 19PC
2014 · about.asika.tw
- 20WF
Hi HN! We (pdubroy & marianoguerra) just launched an online book called WebAssembly from the Ground Up. It's an online book to learn Wasm by building a simple compiler in JavaScript. This is the book we wish we'd had 3 years ago. Unlike many WebAssembly resources that focus on use cases and tooling, we wanted a deep dive into how Wasm actually works. We focus on the core of WebAssembly: the module format and the instruction set. We think the low-level details — the "virtual ISA" — are the most interesting part, and we had the crazy idea that writing a compiler is the best way to learn it.…
2025 · wasmgroundup.com
- 21IB
This is a simple PHP framework I built myself from scratch with minimal dependencies from composer. It has Autowiring DI and some simple routing provided by the Slim router. The code: https://github.com/cipher-code/phpframework
2022
- 22AW
What do I mean by plain English? I mean there's no source code, no programming language. Just plain English "compiled" and CI/CDed into "production" at https://nie.avoguard.com/. Why did I build this? Just for fun. I wanted to see how close to a production-ready code can an LLM generate, and what would it take to actually take it into production. With today's technology, could an English speaker write a web server without knowing much about software engineering? See the "source plain English" for details of how detailed the instructions need to be to produce something…
2024 · github.com
- 23JM
Hello HN community, I'm excited to introduce Javaistic, an open-source platform designed to simplify and accelerate your journey in learning Java programming. Whether you're a beginner or looking to deepen your understanding, Javaistic offers a comprehensive and user-friendly experience. Key Features: Comprehensive Content: Explore a wide range of topics, from basic concepts to advanced subjects like arrays, strings, 2D arrays, recursion, and matrices. Beautiful Design: Enjoy a visually appealing and optimized learning environment that enhances your educational experience. Ad-Free Learning:…
2025 · javaistic.vercel.app
- 24IA
Hi there. I'm working on a programming language -- called Ink - in my spare time, with a friend. It uses LLVM for the backend, the parser and lexer are both hand written in C. The project is just for a bit of fun, we aren't trying to "revolutionize the programming language", but we're okay with being a bit quirky and out of the box with some of the syntax/features in the language. At the moment, the language is in it's early stages, and there's still a lot to do, which means that if you want to learn more about compilers, now would be a good time to start working on the language, since…
2015
Ranked by how close each launch is in meaning, then by votes. Refine with a description →