image

  • フォト Amazonギフト券
    ※この時計の時刻は、閲覧しているパソコンのものであり、必ずしも正確な時間とは限りません

検索

最近のトラックバック

無料ブログはココログ

« 2007-11-24 | トップページ | 2007-11-26 »

2007-11-25

2007-11-25

gforth も評価中

gforth も試してみている。

$ port search forth
gforth   lang/gforth  0.6.2  fast and portable implementation of the ANS Forth language

$ sudo port install gforth

これまでと同じに まずは hello-world と階乗計算を。

$ cat hello.f
cat hello.f
¥ See http://www.delorie.com/gnu/docs/gforth/gforth_32.html      
¥     http://www.complang.tuwien.ac.at/forth/gforth/Docs-html/Characters-and-Strings-Tutorial.html#Characters%20and%20Strings%20Tutorial

: fac1 ( n -- n! ) recursive
dup 0> if
   dup 1- fac1 *
else
   drop 1
endif ;

: hello s" Hello, gforth!" ;

$ gforth hello.f
Gforth 0.6.2, Copyright (C) 1995-2003 Free Software Foundation, Inc.
Gforth comes with ABSOLUTELY NO WARRANTY; for details type `license'
Type `bye' to exit
10 fac1  ok
. 3628800  ok
hello ok
type Hello, gforth! ok
100 fac1  ok
. 0  ok

Amazonギフト券

ピックアップ: JRubyのJavaME対応バージョン, 携帯電話でのオーディオツアー, etc...

- http://blog.browncat.org/2007/11/jrubyjavame.html
> > JRubyのJavaME対応バージョンが登場 (blog@browncat.org)

- http://jp.youtube.com/watch?v=gO5IKUdy4MQ
> > YouTube - Perfume-ポリリズム(LIVE)

- http://www.100shiki.com/archives/2007/11/round_pic.html
> > 画像の四隅を丸く加工してくれる『Round Pic』 | 100SHIKI.COM

- http://www.100shiki.com/archives/2007/11/guide_by_cell.html
> > 携帯電話でのオーディオツアーを可能にする『Guide by Cell』 | 100SHIKI.COM

- http://blog.creamu.com/mt/2007/11/definr.html
> > 信じられないくらい速い辞書エンジン『definr』 | CREAMU

- http://labs.cybozu.co.jp/blog/akky/archives/2007/11/touchscreen-rubik-cube.html
> > 秋元@サイボウズラボ・プログラマー・ブログ: 世界初立方体型タッチスクリーンによるルービックキューブ

- http://juen-cs.dl.juen.ac.jp/html/office2003-2007/
> > これで完璧! Office 2003とOffice 2007のコマンド対応学習講座

Amazonギフト券

« 2007-11-24 | トップページ | 2007-11-26 »

mokuji

2013年12月
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31        

google

  • twitter
  • __
  • _
    Googleボットチェッカー

合わせて読む

  • 合わせて読む
    フィードメーター - katoy: cocolog あわせて読みたい

リンク