7

Peeble: An F# -> PHP Transpiler

 3 years ago
source link: https://skillsmatter.com/skillscasts/14886-peeble-an-f-sharp-php-transpiler
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Peeble: An F# -> PHP Transpiler
This website uses cookies to improve your experience. Learn more

SkillsCast

Please log in to watch this conference skillscast.

980616984_640x360.jpg?r=pad

Fable has already proved that F# is really good at transpiling. Now Peeble is taking the same steps to transpile F# to #PHP. In this talk Jérémie Chassaing takes a good look at Peeble through a case study from the world of game development.

Fable has already proved that F# is really good at transpiling. Peeble is taking the same steps to transpile F# to PHP, allowing users to integrate into environments where running .NET is not an option.

Through the example of a real world game development, you'll experience how to write F# using Fable — Elmish on the front, and the same code converted to PHP on the back. This same approach could be done to integrate easily with Go, Python, or similar languages.

The alternative to this would require us to write the full program in JavaScript and PHP, implementing 3K lines of complex game login twice in two different languages.

The end result? The game "Crazy Farmers" . You can view the code on github at https://github.com/thinkbeforecoding/crazy

YOU MAY ALSO LIKE:


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK