nowfound

Dev tools · December 12, 2014

JT

Java to PHP Compiler

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:…

What it does

In the maker’s words, at launch

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: String.format vs sprintf) that is way out of scope for this hack. Source: https://gist.github.com/eridal/a850a8a665a255b74d2c

Does the same job

all alternatives →

More dev tools this month

the category →
  • Dograh592

    The open source VAPI alternative

    Dev tools · 25d ago · dograh.com

  • Meridian530

    Don't let your work go unnoticed. Get promoted!

    Dev tools · 20d ago · meridiona.com

  • x1516

    Lovable for iPhone apps go from idea to App Store

    Dev tools · 11d ago · x1.new

  • Open-source GTM skills for technical founders

    Dev tools · 29d ago · gtmcofounder.com

  • OpenTrailPaper is open-source bike computer firmware for the LilyGO T5S3 4.7" E-Paper PRO. It supports offline maps, GPX routes, FIT recording and Bluetooth sensors.

    Dev tools · 1d ago · opentrailpaper.com

  • Nuphos380

    The AI-Native DevOps Workspace.

    Dev tools · 24d ago · nuphos.ai

Launched alongside, December 2014

the whole month →
  • Noizio779

    Ambient background sounds for your Mac

    Work · 2014 · noizioapp.com

  • Use your iPad as a second display for your Mac

    Work · 2014 · duetdisplay.com

  • A simple way to bookmark & curate product collections

    Life & fun · 2014

  • Workflow557

    Automate things you do every day on your iPhone/iPad

    Dev tools · 2014

  • Clear, effective, mistake-free writing everywhere you type.

    Work · 2014

  • Front 2.0501

    Shared team inboxes to manage Email, Twitter, SMS & more

    Work · 2014