RapydScript in browser

147 views
Skip to first unread message

Hugo Ruscitti

unread,
Dec 8, 2015, 11:01:55 AM12/8/15
to RapydScript
Hi, i'm making a simple python editor for a programming teaching tool; and i want to create some similar to "try-it" website' section: http://www.rapydscript.com/try-it/

it's any documentation to run rapydscript directly on browser?

where is the limitation to run radpydscript in a browser opposed to run in node-environment?

thanks!

Alexander Tsepkov

unread,
Dec 8, 2015, 11:10:02 AM12/8/15
to Hugo Ruscitti, RapydScript

It lacks documentation but it's a fork that deploys RapydScript on the web, if you want to do a write up, it would be appreciated, as this question has been coming up frequently from other members.

As far as differences between node and javascript, the only difference is that "require" is not supported in the browser. The core logic of the compiler (parse.pyj, ast.pyj, output.pyj, utils.pyj, baselib.pyj) are completely environment-agnostic, the remaining tweaks are minor in nature (you basically create a wrapper for the browser).
Reply all
Reply to author
Forward
0 new messages