Version 1 (modified by vadim.godunko, 7 years ago) ( diff )


Ada to JavaScript translator

Ada to JavaScript translator allows to run Ada application in Web browsers and other JavaScript engines.

It is integrated with gprbuild utility. It is sufficient to set project's Target attribute in project file to "javascript" or specify --target=javascript command line parameter for gprbuild.

Generated JavaScript code should be copied to deployment directory from object directory specified in project file. JavaScript code of run-time library can be found in <prefix>/share/matreshka/a2js/rtl directory and should be copied to deployment directory too.

Deployed application can be run by RequireJS.

Note: See TracWiki for help on using the wiki.