by
Anonymous Coward
on 2009年05月28日 11時59分
(#1574826)
> そういやAdobeが作ったJavaScriptインタプリタも中間コードがFORTHらしいな。
ちょっと違うかも。
http://www.bluishcoder.co.nz/2008/02/quick-introduction-to-tamarin-tra... [bluishcoder.co.nz] > the interpreter is written in Forth. There are .fs files in the 'core' subdirectory that contains the Forth source code. Each 'abc' bytecode is implemented in lower level instructions which are implemented in Forth. The tracing jit operates on these lower level instructions. The system can be extended with Forth code to call native C functions. The compiler from Forth to C++ is written in Python and is in 'utils/fc.py'
そういや昔 (スコア:0)
PostScriptで書かれたhttpd [pugo.org]なんてのがあったな。FORTH系の言語だから速そうな気がするが。
そういやAdobeが作ったJavaScriptインタプリタも中間コードがFORTHらしいな。
Re:そういや昔 (スコア:0)
> そういやAdobeが作ったJavaScriptインタプリタも中間コードがFORTHらしいな。
ちょっと違うかも。
http://www.bluishcoder.co.nz/2008/02/quick-introduction-to-tamarin-tra... [bluishcoder.co.nz]
> the interpreter is written in Forth. There are .fs files in the 'core' subdirectory that contains the Forth source code. Each 'abc' bytecode is implemented in lower level instructions which are implemented in Forth. The tracing jit operates on these lower level instructions. The system can be extended with Forth code to call native C functions. The compiler from Forth to C++ is written in Python and is in 'utils/fc.py'
中間コードの例も出てるけど、FORTHっぽくないよ。