PystachioはJavaScript製のオープンソース・ソフトウェア。Webシステムにおいてクライアントサイドで選べる言語はあまり多くない。JavaScript/ActiveX/Flash/Javaくらいだろうか。動作の軽快さやユーザビリティを考えるとJavaScriptが良い選択肢になるだろう。 PythonのコードをJavaScriptに変換して実行する とはいえサーバサイドと合わせて二つの言語を使いこなすのは面倒だ。そこでPystachioの出番となる。PystachioはJavaScriptで作られたソフトウェアだが、Pythonのコードを解釈してJavaScriptとして実行してしまおうという試みがなされている。 キーワードはscriptタグの「text/python」になるだろう。これが埋め込まれている内部のコードを解釈してJavaScriptに変換するのがPystachi