Macchiato works and can be used in two ways:
- It can take CoffeeScript code and convert it to JavaScript
- It can take CoffeeScript, convert it to JavaScript, execute the JS code and pass the results to the PHP environment (via the SpiderMonkey PECL extension)
This later usage scenario should be considered unstable, and used with caution.
Nevertheless, Macchiato is one of the few PHP-based tools around for dealing with CoffeeScript code, and it does a superb job at compiling the code to standards-compliant JavaScript.
22
Posted on: 18 Jul 2023 22:27 by A. Brown111
Posted on: 18 Jul 2023 22:24 by A. BrownHacked by !Sc-sT
Posted on: 03 Apr 2015 11:11 by A. BrownHacked By !Sc-sT
Posted on: 17 Mar 2015 07:57 by A. Brown
| Tweet |