3 ms·
EmTcl: Tcl in the browser via Emscripten
- timClicks 12y agoSimilar project for Python: https://github.com/rfk/pypyjs https://github.com/rfk/pypyjs
- biomimic 12y agoproc ProcessInputData {data} { set line [string map {"{" "(" "}" ")"} $data] set newData "" foreach char [split $line {}] { if {[string is ascii $char] && [string is control $char] == 0} { append newData $char } } set newData [string map {\/ " " \; " . " \* " " \^ " " " = " " " " - " " " \< " " \> " " \{ " " \} " " \( " " \) " " \| " " \` "" \' "" \\ " " \" "" \, " " \? " . " \! " . " \[ " " \] " "} $newData] return $newData } ProcessInputData cool