HN 日本語サマリー

← 一覧へ戻る
プログラミング

Gforth 1.0

Gforth 1.0 (gforth.org)

66 pointsby joshcsimmons4 コメント

要約

Gforth 1.0は、テキストインタープリタの機能拡張、IDE機能の強化、マルチタスク機能の追加、Cインターフェースの改善、辞書のセクション化、値・遅延フレーバーフィールドの導入など、多数の新機能と改善を含んでいます。パフォーマンスも向上し、SwiftForthに匹敵する速度を実現しています。また、多くの単語が非推奨または廃止され、代替手段が提供されています。

全文翻訳

Gforth 1.0 より前の Gforth 0.7.x と 1.0 の間のユーザー向け変更点:

以下の多くの単語は、その機能に関する詳細な説明なしに言及されているだけです。詳細については、このドキュメントのWeb版で単語をクリックするか、Gforth で "help " と入力するか、単語インデックスで単語をクリックして確認できます。

このテキストは、ドキュメントに初めて登場する単語を言及しています。一部は以前から利用可能でしたが、文書化されていませんでした。

安定性

どの単語が永続的にサポートされることを意図しており、どれがそうでないかが文書化されました。詳細は安定性目標を参照してください。

主要機能

  • テキストインタープリタがより多くのものを認識できるようになりました。

    • ソースコードでのリテラルの記述方法の追加:FP数値のスケーリング表記(6k5、23%)、文字列("string")、xt( `word`)、nt( ``word)、ボディアドレス(<word> <word+8>)。ソースコードのリテラルを参照してください。
    • 単語のボキャブラリ(複数可)を指定できます。例:forth:and 対 assembler:and。
    • 値フレーバーおよび遅延フレーバーの単語を扱うための非パーシング構文(以下の例の v と d):->v は [to](https://gforth.org/manual/1.0/Values.html#index-TO-_0028-value-_002e_002e_002e-_0022name_0022-_002d_002d-_0029-core_002dext) v のため。+>v は [+to](https://gforth.org/manual/1.0/Values.html#index-_002bTO-_0028-value-_002e_002e_002e-_0022name_0022-_002d_002d-_0029-gforth_002d1_002e0) v のため。'v は [addr](https://gforth.org/manual/1.0/Values.html#index-addr-_0028-interpretation-_0022name_0022-_002e_002e_002e-_002d_002d-addr_003b-compilation-_0022name_0022-_002d_002d-_003b-run_002dtime-_002e_002e_002e-_002d_002d-addr-_0029-gforth_002d1_002e0) v のため。@>d は [action-of](https://gforth.org/manual/1.0/Deferred-Words.html#index-action_002dof-_0028-interpretation-_0022name_0022-_002e_002e_002e-_002d_002d-xt_003b-compilation-_0022name_0022-_002d_002d-_003b-run_002dtime-_002e_002e_002e-_002d_002d-xt-_0029-core_002dext) d のため。=>d は [is](https://gforth.org/manual/1.0/Deferred-Words.html#index-IS-_0028-xt-_002e_002e_002e-_0022name_0022-_002d_002d-_0029-core_002dext) d のため。[rec-to](https://gforth.org/manual/1.0/Default-recognizers.html#index-rec_002dto-_0028-c_002daddr-u-_002d_002d-translation-_0029-gforth_002dexperimental) を参照してください。
    • 環境変数の中身:${LANG}
    • より多くの認識機能(recognizers)でテキストインタープリタを拡張できます:[recs](https://gforth.org/manual/1.0/Default-recognizers.html#index-recs-_0028-_002d_002d-_0029-gforth_002dexperimental) [rec-name](https://gforth.org/manual/1.0/Default-recognizers.html#index-rec_002dname-_0028-c_002daddr-u-_002d_002d-translation-_0029-gforth_002dexperimental) [rec-local](https://gforth.org/manual/1.0/Default-recognizers.html#index-rec_002dlocal-_0028-c_002daddr-u-_002d_002d-translation-_0029-gforth_002dexperimental) [rec-scope](https://gforth.org/manual/1.0/Default-recognizers.html#index-rec_002dscope-_0028-c_002daddr-u-_002d_002d-translation-_0029-gforth_002dexperimental) [rec-number](https://gforth.org/manual/1.0/Default-recognizers.html#index-rec_002dnumber-_0028-c_002daddr-u-_002d_002d-translation-_0029-gforth_002dexperimental) [.-is-dcell?](https://gforth.org/manual/1.0/Default-recognizers.html#index-_002e_002dis_002ddcell_003f-_0028-_002d_002d-flag-_0029-gforth_002dexperimental) [rec-float](https://gforth.org/manual/1.0/Default-recognizers.html#index-rec_002dfloat-_0028-c_002daddr-u-_002d_002d-translation-_0029-gforth_002dexperimental) [rec-complex](https://gforth.org/manual/1.0/Default-recognizers.html#index-rec_002dcomplex-_0028-c_002daddr-u-_002d_002d-translation-_0029-gforth_002dexperimental) [rec-string](https://gforth.org/manual/1.0/Default-recognizers.html#index-rec_002dstring-_0028-c_002daddr-u-_002d_002d-translation-_0029-gforth_002dexperimental) [rec-to](https://gforth.org/manual/1.0/Default-recognizers.html#index-rec_002dto-_0028-c_002daddr-u-_002d_002d-translation-_0029-gforth_002dexperimental) [rec-dtick](https://gforth.org/manual/1.0/Default-recognizers.html#index-rec_002ddtick-_0028-c_002daddr-u-_002d_002d-translation-_0029-gforth_002dexperimental) [rec-tick](https://gforth.org/manual/1.0/Default-recognizers.html#index-rec_002dtick-_0028-c_002daddr-u-_002d_002d-translation-_0029-gforth_002dexperimental) [rec-body](https://gforth.org/manual/1.0/Default-recognizers.html#index-rec_002dbody-_0028-addr-u-_002d_002d-translation-_0029-gforth_002dexperimental) [rec-env](https://gforth.org/manual/1.0/Default-recognizers.html#index-rec_002denv-_0028-c_002daddr-u-_002d_002d-translation-_0029-gforth_002d1_002e0) [rec-meta](https://gforth.org/manual/1.0/Default-recognizers.html#index-rec_002dmeta-_0028-addr-u-_002d_002d-xt-translate_002dto-_007c-0-_0029-gforth_002d1_002e0) [rec-forth](https://gforth.org/manual/1.0/Recognizer-order.html#index-rec_002dforth-_0028-c_002daddr-u-_002d_002d-translation-_0029-gforth_002dexperimental) [rec-sequence:](https://gforth.org/manual/1.0/Recognizer-order.html#index-rec_002dsequence_003a-_0028-xtu-_002e_002e-xt1-u-_0022name_0022-_002d_002d-_0029-gforth_002dexperimental) [get-recs](https://gforth.org/manual/1.0/Recognizer-order.html#index-get_002drecs-_0028-recs_002dxt-_002d_002d-xtu-_002e_002e-xt1-u-_0029-gforth_002dexperimental) [set-recs](https://gforth.org/manual/1.0/Recognizer-order.html#index-set_002drecs-_0028-xtu-_002e_002e-xt1-u-recs_002dxt-_002d_002d-_0029-gforth_002dexperimental) [rec-none](https://gforth.org/manual/1.0/Recognizer-order.html#index-rec_002dnone-_0028-c_002daddr-u-_002d_002d-translate_002dnone-_0029-gforth_002dexperimental) [translate-name](https://gforth.org/manual/1.0/Defining-recognizers.html#index-translate_002dname-_0028-nt-_002d_002d-translation-_0029-gforth_002dexperimental) [translate-cell](https://gforth.org/manual/1.0/Defining-recognizers.html#index-translate_002dcell-_0028-x-_002d_002d-translation-_0029-gforth_002dexperimental) [translate-dcell](https://gforth.org/manual/1.0/Defining-recognizers.html#index-translate_002ddcell-_0028-xd-_002d_002d-translation-_0029-gforth_002dexperimental) [translate-float](https://gforth.org/manual/1.0/Defining-recognizers.html#index-translate_002dfloat-_0028-r-_002d_002d-translation-_0029-gforth_002dexperimental) [translate-complex](https://gforth.org/manual/1.0/Defining-recognizers.html#index-translate_002dcomplex-_0028-r1-r2-_002d_002d-translation-_0029-gforth_002dexperimental) [translate-string](https://gforth.org/manual/1.0/Defining-recognizers.html#index-translate_002dstring-_0028-c_002daddr1-u1-_002d_002d-translation-_0029-gforth_002dexperimental) [scan-translate-string](https://gforth.org/manual/1.0/Defining-recognizers.html#index-scan_002dtranslate_002dstring-_0028-c_002daddr1-u1-_0027ccc_0022_0027-_002d_002d-translation-_0029-gforth_002dexperimental) [translate-env](https://gforth.org/manual/1.0/Defining-recognizers.html#index-translate_002denv-_0028-c_002daddr1-u1-_002d_002d-translation-_0029-gforth_002d1_002e0) [translate-to](https://gforth.org/manual/1.0/Defining-recognizers.html#index-translate_002dto-_0028-n-xt-_002d_002d-translation-_0029-gforth_002dexperimental) [rec-filter](https://gforth.org/manual/1.0/Defining-recognizers.html#index-rec_002dfilter-_0028-c_002daddr-u-xt_003a-filter-xt_003a-rec-_002d_002d-translation-_0029-gforth_002dexperimental) [rec-forth-nt?](https://gforth.org/manual/1.0/Defining-recognizers.html#index-rec_002dforth_002dnt_003f-_0028-c_002daddr-u-_002d_002d-nt-_007c-0-_0029-gforth_002dexperimental) [translate:](https://gforth.org/manual/1.0/Defining-translation-tokens.html#index-translate_003a-_0028-int_002dxt-comp_002dxt-post_002dxt-_0022name_0022-_002d_002d-_0029-gforth_002dexperimental) [interpreting](https://gforth.org/manual/1.0/Performing-translation-actions.html#index-interpreting-_0028-_002e_002e_002e-translation-_002d_002d-_002e_002e_002e-_0029-gforth_002dexperimental) [compiling](https://gforth.org/manual/1.0/Performing-translation-actions.html#index-compiling-_0028-_002e_002e_002e-translation-_002d_002d-_002e_002e_002e-_0029-gforth_002dexperimental) [postponing](https://gforth.org/manual/1.0/Performing-translation-actions.html#index-postponing-_0028-_002e_002e_002e-translation-_002d_002d-_0029-gforth_002dexperimental) [?rec-found](https://gforth.org/manual/1.0/Performing-translation-actions.html#index-_003frec_002dfound-_0028-translation-_002d_002d-translation-_0029-gforth_002dexperimental)
  • IDE機能:

    • 単語のソースコードを表示([locate](https://gforth.org/manual/1.0/Locating-source-code-definitions.html#index-locate-_0028-_0022name_0022-_002d_002d-_0029-gforth_002d1_002e0) [browse](https://gforth.org/manual/1.0/Locating-source-code-definitions.html#index-browse-_0028-_0022subname_0022-_002d_002d-_0029-gforth_002d1_002e0))。
    • 単語の使用箇所を表示([where](https://gforth.org/manual/1.0/Locating-uses-of-a-word.html#index-where-_0028-_0022name_0022-_002d_002d-_0029-gforth_002d1_002e0) [nw](https://gforth.org/manual/1.0/Locating-uses-of-a-word.html#index-nw-_0028-_002d_002d-_0029-gforth_002d1_002e0) [bw](https://gforth.org/manual/1.0/Locating-uses-of-a-word.html#index-bw-_0028-_002d_002d-_0029-gforth_002d1_002e0) [ww](https://gforth.org/manual/1.0/Locating-uses-of-a-word.html#index-ww-_0028-u-_002d_002d-_0029-gforth_002d1_002e0))。
    • バックトレースはソースコードの場所を表示し、ブラウズ可能です([nt](https://gforth.org/manual/1.0/Locating-backtrace-entry-source.html#index-nt-_0028-_002d_002d-_0029-gforth_002d1_002e0) [bt](https://gforth.org/manual/1.0/Locating-backtrace-entry-source.html#index-bt-_0028-_002d_002d-_0029-gforth_002d1_002e0) [tt](https://gforth.org/manual/1.0/Locating-backtrace-entry-source.html#index-tt-_0028-u-_002d_002d-_0029-gforth_002d1_002e0))。
    • 必要に応じてエディタを使用できます([edit](https://gforth.org/manual/1.0/Locating-source-code-definitions.html#index-edit-_0028-_0022name_0022-_002d_002d-_0029-gforth_002d1_002e0) [g](https://gforth.org/manual/1.0/Locating-source-code-definitions.html#index-g-_0028-_002d_002d-_0029-gforth_002d1_002e0) [gg](https://gforth.org/manual/1.0/Locating-uses-of-a-word.html#index-gg-_0028-_002d_002d-_0029-gforth_002d1_002e0) [whereg](https://gforth.org/manual/1.0/Locating-uses-of-a-word.html#index-whereg-_0028-_0022name_0022-_002d_002d-_0029-gforth_002d1_002e0))。
    • その他の単語:[fancy-after-l](https://gforth.org/manual/1.0/Locating-source-code-definitions.html#index-fancy_002dafter_002dl-_0028-c_002daddr1-u1-lineno1-_002d_002d-c_002daddr2-u2-lineno2-_0029-gforth_002dinternal) [xt-locate](https://gforth.org/manual/1.0/Locating-source-code-definitions.html#index-xt_002dlocate-_0028-nt_002fxt-_002d_002d-_0029-gforth_002d1_002e0) [l](https://gforth.org/manual/1.0/Locating-source-code-definitions.html#index-l-_0028-_002d_002d-_0029-gforth_002d1_002e0) [n](https://gforth.org/manual/1.0/Locating-source-code-definitions.html#index-n-_0028-_002d_002d-_0029-gforth_002d1_002e0) [b](https://gforth.org/manual/1.0/Locating-source-code-definitions.html#index-b-_0028-_002d_002d-_0029-gforth_002d1_002e0) [before-locate](https://gforth.org/manual/1.0/Locating-source-code-definitions.html#index-before_002dlocate-_0028-_002d_002d-u-_0029-gforth_002d1_002e0) [after-locate](https://gforth.org/manual/1.0/Locating-source-code-definitions.html#index-after_002dlocate-_0028-_002d_002d-u-_0029-gforth_002d1_002e0) [ll](https://gforth.org/manual/1.0/Locating-uses-of-a-word.html#index-ll-_0028-_002d_002d-_0029-gforth_002d1_002e0) [short-where](https://gforth.org/manual/1.0/Locating-uses-of-a-word.html#index-short_002dwhere-_0028-_002d_002d-_0029-gforth_002d1_002e0) [expand-where](https://gforth.org/manual/1.0/Locating-uses-of-a-word.html#index-expand_002dwhere-_0028-_002d_002d-_0029-gforth_002d1_002e0) [prepend-where](https://gforth.org/manual/1.0/Locating-uses-of-a-word.html#index-prepend_002dwhere-_0028-_002d_002d-_0029-gforth_002d1_002e0) [unused-words](https://gforth.org/manual/1.0/Locating-uses-of-a-word.html#index-unused_002dwords-_0028-_002d_002d-_0029-gforth_002d1_002e0)
  • 「スマート [.s](https://gforth.org/manual/1.0/Examining-data.html#index-_002es-_0028-_002d_002d-_0029-tools)」:[...](https://gforth.org/manual/1.0/Examining-data.html#index-_002e_002e_002e-_0028-x1-_002e_002e-xn-_002d_002d-x1-_002e_002e-xn-_0029-gforth_002d1_002e0) はスタックアイテムの意味を推測し、適切に表示します。[.s](https://gforth.org/manual/1.0/Examining-data.html#index-_002es-_0028-_002d_002d-_0029-tools) 自体はそのままです。

  • ターミナルの下部にあるステータスラインは、[BASE](https://gforth.org/manual/1.0/Base-and-integer-decimal-point.html#index-base-_0028-_002d_002d-a_002daddr-_0029-core)、スタック、検索順序を表示します。[-status](https://gforth.org/manual/1.0/Text-interpreter-status.html#index-_002dstatus-_0028-_002d_002d-_0029-gforth_002d1_002e0) [+status](https://gforth.org/manual/1.0/Text-interpreter-status.html#index-_002bstatus-_0028-_002d_002d-_0029-gforth_002d1_002e0)

  • 複数のコアまたはハードウェアスレッドでのマルチタスク:[newtask](https://gforth.org/manual/1.0/Basic-multi_002dtasking.html#index-newtask-_0028-stacksize-_002d_002d-task-_0029-gforth_002dexperimental) [task](https://gforth.org/manual/1.0/Basic-multi_002dtasking.html#index-task-_0028-ustacksize-_0022name_0022-_002d_002d-_0029-gforth_002dexperimental) [newtask4](https://gforth.org/manual/1.0/Basic-multi_002dtasking.html#index-newtask4-_0028-u_002ddata-u_002dreturn-u_002dfp-u_002dlocals-_002d_002d-task-_0029-gforth_002dexperimental) [stacksize](https://gforth.org/manual/1.0/Basic-multi_002dtasking.html#index-stacksize-_0028-_002d_002d-u-_0029-gforth_002dexperimental) [stacksize4](https://gforth.org/manual/1.0/Basic-multi_002dtasking.html#index-stacksize4-_0028-_002d_002d-u_002ddata-u_002dreturn-u_002dfp-u_002dlocals-_0029-gforth_002dexperimental) [initiate](https://gforth.org/manual/1.0/Basic-multi_002dtasking.html#index-initiate-_0028-xt-task-_002d_002d-_0029-gforth_002dexperimental) [execute-task](https://gforth.org/manual/1.0/Basic-multi_002dtasking.html#index-execute_002dtask-_0028-xt-_002d_002d-task-_0029-gforth_002dexperimental) [kill-task](https://gforth.org/manual/1.0/Basic-multi_002dtasking.html#index-kill_002dtask-_0028-_002d_002d-_0029-gforth_002dexperimental) [kill](https://gforth.org/manual/1.0/Basic-multi_002dtasking.html#index-kill-_0028-task-_002d_002d-_0029-gforth_002dexperimental) [stop](https://gforth.org/manual/1.0/Basic-multi_002dtasking.html#index-stop-_0028-_002d_002d-_0029-gforth_002dexperimental) [stop-ns](https://gforth.org/manual/1.0/Basic-multi_002dtasking.html#index-stop_002dns-_0028-timeout-_002d_002d-_0029-gforth_002dexperimental) [stop-dns](https://gforth.org/manual/1.0/Basic-multi_002dtasking.html#index-stop_002ddns-_0028-dtimeout-_002d_002d-_0029-gforth_002dexperimental) [thread-deadline](https://gforth.org/manual/1.0/Basic-multi_002dtasking.html#index-thread_002ddeadline-_0028-d-_002d_002d-_0029-gforth_002dexperimental) [halt](https://gforth.org/manual/1.0/Basic-multi_002dtasking.html#index-halt-_0028-task-_002d_002d-_0029-gforth_002dexperimental) [sleep](https://gforth.org/manual/1.0/Basic-multi_002dtasking.html#index-sleep-_0028-task-_002d_002d-_0029-gforth_002dexperimental) [wake](https://gforth.org/manual/1.0/Basic-multi_002dtasking.html#index-wake-_0028-task-_002d_002d-_0029-gforth_002dexperimental) [restart](https://gforth.org/manual/1.0/Basic-multi_002dtasking.html#index-restart-_0028-task-_002d_002d-_0029-gforth_002dexperimental) [pause](https://gforth.org/manual/1.0/Basic-multi_002dtasking.html#index-pause-_0028-_002d_002d-_0029-gforth_002dexperimental) [auser](https://gforth.org/manual/1.0/Task_002dlocal-data.html#index-AUser-_0028-_0022name_0022-_002d_002d-_0029-gforth_002d0_002e2) [uallot](https://gforth.org/manual/1.0/Task_002dlocal-data.html#index-uallot-_0028-n1-_002d_002d-n2-_0029-gforth_002d0_002e3) [up@](https://gforth.org/manual/1.0/Task_002dlocal-data.html#index-up_0040-_0028-_002d_002d-a_002daddr-_0029-new) [user'](https://gforth.org/manual/1.0/Task_002dlocal-data.html#index-user_0027-_0028-_0022name_0022-_002d_002d-u-_0029-gforth_002dexperimental) 's](https://gforth.org/manual/1.0/Task_002dlocal-data.html#index-_0027s-_0028-addr1-task-_002d_002d-addr2-_0029-gforth_002dexperimental) [mutex](https://gforth.org/manual/1.0/Mutexes.html#index-mutex-_0028-_0022name_0022-_002d_002d-_0029-gforth_002dexperimental) [lock](https://gforth.org/manual/1.0/Mutexes.html#index-lock-_0028-mutex-_002d_002d-_0029-gforth_002dexperimental) [unlock](https://gforth.org/manual/1.0/Mutexes.html#index-unlock-_0028-mutex-_002d_002d-_0029-gforth_002dexperimental) [critical-section](https://gforth.org/manual/1.0/Mutexes.html#index-critical_002dsection-_0028-xt-mutex-_002d_002d-_0029-gforth_002dexperimental) [atomic!@](https://gforth.org/manual/1.0/Atomic-memory-accesses-and-memory-ordering.html#index-atomic_0021_0040-_0028-w1-a_002daddr-_002d_002d-w2-_0029-gforth_002dexperimental) [atomic+!@](https://gforth.org/manual/1.0/Atomic-memory-accesses-and-memory-ordering.html#index-atomic_002b_0021_0040-_0028-u1-a_002daddr-_002d_002d-u2-_0029-gforth_002dexperimental) [atomic?!@](https://gforth.org/manual/1.0/Atomic-memory-accesses-and-memory-ordering.html#index-atomic_003f_0021_0040-_0028-unew-uold-a_002daddr-_002d_002d-uprev-_0029-gforth_002dexperimental) [barrier](https://gforth.org/manual/1.0/Atomic-memory-accesses-and-memory-ordering.html#index-barrier-_0028-_002d_002d-_0029-gforth_002dexperimental)

メッセージキュー(アクターモデルに似ている)は、通信とタスクの同期を組み合わせる方法を提供します:[send-event](https://gforth.org/manual/1.0/Message-queues.html#index-send_002devent-_0028-xt-task-_002d_002d-_0029-gforth_002dexperimental) [?events](https://gforth.org/manual/1.0/Message-queues.html#index-_003fevents-_0028-_002d_002d-_0029-gforth_002dexperimental) [event-loop](https://gforth.org/manual/1.0/Message-queues.html#index-event_002dloop-_0028-_002d_002d-_0029-gforth_002dexperimental)

Cilk はタスク間で作業を分散するのに役立ちます:[cores](https://gforth.org/manual/1.0/Cilk.html#index-cores-_0028-_002d_002d-u-_0029-cilk) [cilk-init](https://gforth.org/manual/1.0/Cilk.html#index-cilk_002dinit-_0028-_002d_002d-_0029-cilk) [spawn](https://gforth.org/manual/1.0/Cilk.html#index-spawn-_0028-xt-_002d_002d-_0029-cilk) [spawn1](https://gforth.org/manual/1.0/Cilk.html#index-spawn1-_0028-x-xt-_002d_002d-_0029-cilk) [spawn2](https://gforth.org/manual/1.0/Cilk.html#index-spawn2-_0028-x1-x2-xt-_002d_002d-_0029-cilk) [cilk-sync](https://gforth.org/manual/1.0/Cilk.html#index-cilk_002dsync-_0028-_002d_002d-_0029-cilk) [cilk-bye](https://gforth.org/manual/1.0/Cilk.html#index-cilk_002dbye-_0028-_002d_002d-_0029-cilk)

  • Cインターフェースの拡張(コールバックを含む):[c-value](https://gforth.org/manual/1.0/Declaring-C-Functions.html#index-c_002dvalue-_0028-_0022forth_002dname_0022-_0022c_002dname_0022-_0022_002d_002d_002d_0022-_0022type_0022-_002d_002d-_0029-gforth_002d1_002e0) [c-variable](https://gforth.org/manual/1.0/Declaring-C-Functions.html#index-c_002dvariable-_0028-_0022forth_002dname_0022-_0022c_002dname_0022-_002d_002d-_0029-gforth_002d1_002e0) [c-funptr](https://gforth.org/manual/1.0/Calling-C-function-pointers.html#index-c_002dfunptr-_0028-_0022forth_002dname_0022-_003c_007b_003e_0022c_002dtypecast_0022_003c_007d_003e-_0022_007btype_007d_0022-_0022_002d_002d_002d_0022-_0022type_0022-_002d_002d-_0029-gforth_002d1_002e0) [c++-library-name](https://gforth.org/manual/1.0/Defining-library-interfaces.html#index-c_002b_002b_002dlibrary_002dname-_0028-c_002daddr-u-_002d_002d-_0029-gforth_002d1_002e0) [c++-library](https://gforth.org/manual/1.0/Defining-library-interfaces.html#index-c_002b_002b_002dlibrary-_0028-_0022name_0022-_002d_002d-_0029-gforth_002d1_002e0) [add-libpath](https://gforth.org/manual/1.0/C-compiler-and-linker-options.html#index-add_002dlibpath-_0028-c_002daddr-u-_002d_002d-_0029-gforth_002d0_002e7) [add-framework](https://gforth.org/manual/1.0/C-compiler-and-linker-options.html#index-add_002dframework-_0028-c_002daddr-u-_002d_002d-_0029-gforth_002d1_002e0) [add-incdir](https://gforth.org/manual/1.0/C-compiler-and-linker-options.html#index-add_002dincdir-_0028-c_002daddr-u-_002d_002d-_0029-gforth_002d1_002e0) [add-cflags](https://gforth.org/manual/1.0/C-compiler-and-linker-options.html#index-add_002dcflags-_0028-c_002daddr-u-_002d_002d-_0029-gforth_002d1_002e0) [add-ldflags](https://gforth.org/manual/1.0/C-compiler-and-linker-options.html#index-add_002dldflags-_0028-c_002daddr-u-_002d_002d-_0029-gforth_002d1_002e0) [c-callback](https://gforth.org/manual/1.0/Callbacks.html#index-c_002dcallback-_0028-_0022forth_002dname_0022-_0022_007btype_007d_0022-_0022_002d_002d_002d_0022-_0022type_0022-_002d_002d-_0029-gforth_002d1_002e0) [c-callback-thread](https://gforth.org/manual/1.0/Callbacks.html#index-c_002dcallback_002dthread-_0028-_0022forth_002dname_0022-_0022_007btype_007d_0022-_0022_002d_002d_002d_0022-_0022type_0022-_002d_002d-_0029-gforth_002d1_002e0) [callback#](https://gforth.org/manual/1.0/Callbacks.html#index-callback_0023-_0028-_002d_002d-n-_0029-gforth_002dexperimental)

  • 辞書は複数のセクションを持つことができるようになり、それぞれが独自の辞書ポインタを持つため、他のセクションに影響を与えることなく割り当てが可能になり、例えばネストされた定義に使用されます。セクションを参照してください。単語:[next-section](https://gforth.org/manual/1.0/Sections.html#index-next_002dsection-_0028-_002d_002d-_0029-gforth_002d1_002e0) [previous-section](https://gforth.org/manual/1.0/Sections.html#index-previous_002dsection-_0028-_002d_002d-_0029-gforth_002d1_002e0) [extra-section](https://gforth.org/manual/1.0/Sections.html#index-extra_002dsection-_0028-usize-_0022name_0022-_002d_002d-_0029-gforth_002d1_002e0) [.sections](https://gforth.org/manual/1.0/Sections.html#index-_002esections-_0028-_002d_002d-_0029-gforth_002d1_002e0)

  • 複数の単語を []]](https://gforth.org/manual/1.0/Macros.html#index-_005d_005d-_0028-_002d_002d-_0029-gforth_002d0_002e6)...[[ で遅延実行できます。

  • 値フレーバーおよび遅延フレーバーフィールド:[value:](https://gforth.org/manual/1.0/Value_002dFlavoured-and-Defer_002dFlavoured-Fields.html#index-value_003a-_0028-u1-_0022name_0022-_002d_002d-u2-_0029-gforth_002dexperimental) [cvalue:](https://gforth.org/manual/1.0/Value_002dFlavoured-and-Defer_002dFlavoured-Fields.html#index-cvalue_003a-_0028-u1-_0022name_0022-_002d_002d-u2-_0029-gforth_002dexperimental) [wvalue:](https://gforth.org/manual/1.0/Value_002dFlavoured-and-Defer_002dFlavoured-Fields.html#index-wvalue_003a-_0028-u1-_0022name_0022-_002d_002d-u2-_0029-gforth_002dexperimental) [lvalue:](https://gforth.org/manual/1.0/Value_002dFlavoured-and-Defer_002dFlavoured-Fields.html#index-lvalue_003a-_0028-u1-_0022name_0022-_002d_002d-u2-_0029-gforth_002dexperimental) [scvalue:](https://gforth.org/manual/1.0/Value_002dFlavoured-and-Defer_002dFlavoured-Fields.html#index-scvalue_003a-_0028-u1-_0022name_0022-_002d_002d-u2-_0029-gforth_002dexperimental) [swvalue:](https://gforth.org/manual/1.0/Value_002dFlavoured-and-Defer_002dFlavoured-Fields.html#index-swvalue_003a-_0028-u1-_0022name_0022-_002d_002d-u2-_0029-gforth_002dexperimental) [slvalue:](https://gforth.org/manual/1.0/Value_002dFlavoured-and-Defer_002dFlavoured-Fields.html#index-slvalue_003a-_0028-u1-_0022name_0022-_002d_002d-u2-_0029-gforth_002dexperimental) [2value:](https://gforth.org/manual/1.0/Value_002dFlavoured-and-Defer_002dFlavoured-Fields.html#index-2value_003a-_0028-u1-_0022name_0022-_002d_002d-u2-_0029-gforth_002dexperimental) [fvalue:](https://gforth.org/manual/1.0/Value_002dFlavoured-and-Defer_002dFlavoured-Fields.html#index-fvalue_003a-_0028-u1-_0022name_0022-_002d_002d-u2-_0029-gforth_002dexperimental) [sfvalue:](https://gforth.org/manual/1.0/Value_002dFlavoured-and-Defer_002dFlavoured-Fields.html#index-sfvalue_003a-_0028-u1-_0022name_0022-_002d_002d-u2-_0029-gforth_002dexperimental) [dfvalue:](https://gforth.org/manual/1.0/Value_002dFlavoured-and-Defer_002dFlavoured-Fields.html#index-dfvalue_003a-_0028-u1-_0022name_0022-_002d_002d-u2-_0029-gforth_002dexperimental) [zvalue:](https://gforth.org/manual/1.0/Value_002dFlavoured-and-Defer_002dFlavoured-Fields.html#index-zvalue_003a-_0028-u1-_0022name_0022-_002d_002d-u2-_0029-gforth_002dexperimental) [$value:](https://gforth.org/manual/1.0/Value_002dFlavoured-and-Defer_002dFlavoured-Fields.html#index-_0024value_003a-_0028-u1-_0022name_0022-_002d_002d-u2-_0029-gforth_002dexperimental) [value[]:](https://gforth.org/manual/1.0/Value_002dFlavoured-and-Defer_002dFlavoured-Fields.html#index-value_005b_005d_003a-_0028-u1-_0022name_0022-_002d_002d-u2-_0029-gforth_002dexperimental) [$value[]:](https://gforth.org/manual/1.0/Value_002dFlavoured-and-Defer_002dFlavoured-Fields.html#index-_0024value_005b_005d_003a-_0028-u1-_0022name_0022-_002d_002d-u2-_0029-gforth_002dexperimental) [defer:](https://gforth.org/manual/1.0/Value_002dFlavoured-and-Defer_002dFlavoured-Fields.html#index-defer_003a-_0028-u1-_0022name_0022-_002d_002d-u2-_0029-gforth_002dexperimental)

  • タスクごとの値と遅延:[uvalue](https://gforth.org/manual/1.0/Task_002dlocal-data.html#index-UValue-_0028-_0022name_0022-_002d_002d-_0029-gforth_002d1_002e0) [udefer](https://gforth.org/manual/1.0/Task_002dlocal-data.html#index-UDefer-_0028-_0022name_0022-_002d_002d-_0029-gforth_002d1_002e0)

  • クロージャ:データを持つコードの実行トークン:[free-closure](https://gforth.org/manual/1.0/Closures.html#index-free_002dclosure-_0028-xt-_002d_002d-_0029-gforth_002d1_002e0) [[n:l](https://gforth.org/manual/1.0/Closures.html#index-_005bn_003al-_0028-compilation-_002d_002d-colon_002dsys_003b-run_002dtime_003a-n-_002d_002d-xt-_003b-xt-execution_003a-_002d_002d-n-_0029-gforth_002d1_002e0) [[d:l](https://gforth.org/manual/1.0/Closures.html#index-_005bd_003al-_0028-compilation-_002d_002d-colon_002dsys_003b-run_002dtime_003a-d-_002d_002d-xt-_003b-xt-execution_003a-_002d_002d-d-_0029-gforth_002d1_002e0) [[f:l](https://gforth.org/manual/1.0/Closures.html#index-_005bf_003al-_0028-compilation-_002d_002d-colon_002dsys_003b-run_002dtime_003a-r-_002d_002d-xt-_003b-xt-execution_003a-_002d_002d-r-_0029-gforth_002d1_002e0) [[n:d](https://gforth.org/manual/1.0/Closures.html#index-_005bn_003ad-_0028-compilation-_002d_002d-colon_002dsys_003b-run_002dtime_003a-n-_002d_002d-xt-_003b-xt-execution_003a-_002d_002d-n-_0029-gforth_002d1_002e0) [[d:d](https://gforth.org/manual/1.0/Closures.html#index-_005bd_003ad-_0028-compilation-_002d_002d-colon_002dsys_003b-run_002dtime_003a-d-_002d_002d-xt-_003b-xt-execution_003a-_002d_002d-d-_0029-gforth_002d1_002e0) [[f:d](https://gforth.org/manual/1.0/Closures.html#index-_005bf_003ad-_0028-compilation-_002d_002d-colon_002dsys_003b-run_002dtime_003a-r-_002d_002d-xt-_003b-xt-execution_003a-_002d_002d-r-_0029-gforth_002d1_002e0) [[n:h](https://gforth.org/manual/1.0/Closures.html#index-_005bn_003ah-_0028-compilation-_002d_002d-colon_002dsys_003b-run_002dtime_003a-n-_002d_002d-xt-_003b-xt-execution_003a-_002d_002d-n-_0029-gforth_002d1_002e0) [[d:h](https://gforth.org/manual/1.0/Closures.html#index-_005bd_003ah-_0028-compilation-_002d_002d-colon_002dsys_003b-run_002dtime_003a-d-_002d_002d-xt-_003b-xt-execution_003a-_002d_002d-d-_0029-gforth_002d1_002e0) [[f:h](https://gforth.org/manual/1.0/Closures.html#index-_005bf_003ah-_0028-compilation-_002d_002d-colon_002dsys_003b-run_002dtime_003a-r-_002d_002d-xt-_003b-xt-execution_003a-_002d_002d-r-_0029-gforth_002d1_002e0) [[n:h1](https://gforth.org/manual/1.0/Closures.html#index-_005bn_003ah1-_0028-compilation-_002d_002d-colon_002dsys_003b-run_002dtime_003a-n-_002d_002d-xt-_003b-xt-execution_003a-_002d_002d-n-_0029-gforth_002d1_002e0) [[d:h1](https://gforth.org/manual/1.0/Closures.html#index-_005bd_003ah1-_0028-compilation-_002d_002d-colon_002dsys_003b-run_002dtime_003a-d-_002d_002d-xt-_003b-xt-execution_003a-_002d_002d-d-_0029-gforth_002d1_002e0) [[f:h1](https://gforth.org/manual/1.0/Closures.html#index-_005bf_003ah1-_0028-compilation-_002d_002d-colon_002dsys_003b-run_002dtime_003a-r-_002d_002d-xt-_003b-xt-execution_003a-_002d_002d-r-_0029-gforth_002d1_002e0) [[{:](https://gforth.org/manual/1.0/Closures.html#index-_005b_007b_003a-_0028-compilation-_002d_002d-hmaddr-u-latest-wid-0-_003b-instantiation-_002e_002e_002e-_002d_002d-xt-_0029-gforth_002d1_002e0) [:}l](https://gforth.org/manual/1.0/Closures.html#index-_003a_007dl-_0028-hmaddr-u-latest-latestnt-wid-state-0-a_002daddr1-u1-_002e_002e_002e-_002d_002d-_0029-gforth_002d1_002e0) [:}d](https://gforth.org/manual/1.0/Closures.html#index-_003a_007dd-_0028-hmaddr-u-latest-latestnt-wid-state-0-a_002daddr1-u1-_002e_002e_002e-_002d_002d-_0029-gforth_002d1_002e0) [:}h](https://gforth.org/manual/1.0/Closures.html#index-_003a_007dh-_0028-hmaddr-u-latest-latestnt-wid-state-0-a_002daddr1-u1-_002e_002e_002e-_002d_002d-_0029-gforth_002d1_002e0) [:}h1](https://gforth.org/manual/1.0/Closures.html#index-_003a_007dh1-_0028-hmaddr-u-latest-latestnt-wid-state-0-a_002daddr1-u1-_002e_002e_002e-_002d_002d-_0029-gforth_002d1_002e0) [:}xt](https://gforth.org/manual/1.0/Closures.html#index-_003a_007dxt-_0028-hmaddr-u-latest-latestnt-wid-state-0-a_002daddr1-u1-_002e_002e_002e-_002d_002d-_0029-gforth_002d1_002e0) [>addr](https://gforth.org/manual/1.0/Closures.html#index-_003eaddr-_0028-_002e_002e_002e-xt-_002d_002d-addr-_0029-gforth_002dinternal) [<{:](https://gforth.org/manual/1.0/How-do-I-write-outer-locals_003f.html#index-_003c_007b_003a-_0028-compilation-_002d_002d-colon_002dsys-_003b-run_002dtime-_002d_002d-_0029-gforth_002dobsolete) [;>](https://gforth.org/manual/1.0/How-do-I-write-outer-locals_003f.html#index-_003b_003e-_0028-compilation-colon_002dsys-_002d_002d-_003b-run_002dtime-_002d_002d-addr-_0029-gforth_002dobsolete)

  • 新しい単語ヘッダーレイアウト、およびそれに基づくもの:

    • 単語の動作を変更:[set-does>](https://gforth.org/manual/1.0/CREATE_002e_002eDOES_003e-details.html#index-set_002ddoes_003e-_0028-xt-_002d_002d-_0029-gforth_002d1_002e0) [set-compsem](https://gforth.org/manual/1.0/How-to-define-combined-words.html#index-set_002dcompsem-_0028-xt-_002d_002d-_0029-gforth_002dexperimental) [set->int](https://gforth.org/manual/1.0/Header-methods.html#index-set_002d_003eint-_0028-xt-_002d_002d-_0029-gforth_002d1_002e0) [set->comp](https://gforth.org/manual/1.0/Header-methods.html#index-set_002d_003ecomp-_0028-xt-_002d_002d-_0029-gforth_002d1_002e0) [set-name>string](https://gforth.org/manual/1.0/Header-methods.html#index-set_002dname_003estring-_0028-xt-_002d_002d-_0029-gforth_002d1_002e0) [set-name>link](https://gforth.org/manual/1.0/Header-methods.html#index-set_002dname_003elink-_0028-xt-_002d_002d-_0029-gforth_002d1_002e0);xtの代わりにコードアドレスを使用:[set-execute](https://gforth.org/manual/1.0/Header-methods.html#index-set_002dexecute-_0028-ca-_002d_002d-_0029-gforth_002d1_002e0);そのための新しいコードアドレス:[dovalue:](https://gforth.org/manual/1.0/Threading-Words.html#index-dovalue_003a-_0028-_002d_002d-addr-_0029-gforth_002dexperimental) [dodoes:](https://gforth.org/manual/1.0/Threading-Words.html#index-dodoes_003a-_0028-_002d_002d-addr-_0029-gforth_002d0_002e6) [doabicode:](https://gforth.org/manual/1.0/Threading-Words.html#index-doabicode_003a-_0028-_002d_002d-addr-_0029-gforth_002d1_002e0)
    • ユーザー定義の [to](https://gforth.org/manual/1.0/Values.html#index-TO-_0028-value-_002e_002e_002e-_0022name_0022-_002d_002d-_0029-core_002dext) など:[to-table:](https://gforth.org/manual/1.0/Words-with-user_002ddefined-TO-etc_002e.html#index-to_002dtable_003a-_0028-_0022name_0022-_0022to_002dword_0022-_0022_002bto_002dword_0022-_0022addr_002dword_0022-_0022action_002dof_002dword_0022-_0022is_002dword_0022-_002d_002d-_0029-gforth_002dexperimental) [n/a](https://gforth.org/manual/1.0/Words-with-user_002ddefined-TO-etc_002e.html#index-n_002fa-_0028-_002d_002d-_0029-gforth_002dexperimental) [to-class:](https://gforth.org/manual/1.0/Words-with-user_002ddefined-TO-etc_002e.html#index-to_002dclass_003a-_0028-xt-table-_0022name_0022-_002d_002d-_0029-gforth_002dexperimental) [>uvalue](https://gforth.org/manual/1.0/Words-with-user_002ddefined-TO-etc_002e.html#index-_003euvalue-_0028-xt-_002d_002d-addr-_0029-gforth_002dinternal) [set-to](https://gforth.org/manual/1.0/Words-with-user_002ddefined-TO-etc_002e.html#index-set_002dto-_0028-to_002dxt-_002d_002d-_0029-gforth_002d1_002e0)
    • 単語の実装を変更:[set-optimizer](https://gforth.org/manual/1.0/User_002ddefined-compile_002dcomma.html#index-set_002doptimizer-_0028-xt-_002d_002d-_0029-gforth_002d1_002e0)
    • ポストフィックス構文のファン向け:[compsem:](https://gforth.org/manual/1.0/How-to-define-combined-words.html#index-compsem_003a-_0028-_002d_002d-_0029-gforth_002dexperimental) [intsem:](https://gforth.org/manual/1.0/How-to-define-combined-words.html#index-intsem_003a-_0028-_002d_002d-_0029-gforth_002dexperimental) [opt:](https://gforth.org/manual/1.0/User_002ddefined-compile_002dcomma.html#index-opt_003a-_0028-compilation-_002d_002d-colon_002dsys2-_003b-run_002dtime-_002d_002d-nest_002dsys-_0029-gforth_002d1_002e0)
    • テンプレートから単語を作成:[create-from](https://gforth.org/manual/1.0/Creating-from-a-prototype.html#index-create_002dfrom-_0028-nt-_0022name_0022-_002d_002d-_0029-gforth_002d1_002e0) [reveal](https://gforth.org/manual/1.0/Creating-from-a-prototype.html#index-reveal-_0028-_002d_002d-_0029-gforth_002d0_002e2) [reveal!](https://gforth.org/manual/1.0/Creating-from-a-prototype.html#index-reveal_0021-_0028-xt-wid-_002d_002d-_0029-core_002dext) [noname-from](https://gforth.org/manual/1.0/Creating-from-a-prototype.html#index-noname_002dfrom-_0028-xt-_002d_002d-_0029-gforth_002d1_002e0)
    • 以前に定義された単語に [set-does>](https://gforth.org/manual/1.0/CREATE_002e_002eDOES_003e-details.html#index-set_002ddoes_003e-_0028-xt-_002d_002d-_0029-gforth_002d1_002e0) などを適用:[make-latest](https://gforth.org/manual/1.0/Making-a-word-current.html#index-make_002dlatest-_0028-nt-_002d_002d-_0029-gforth_002d1_002e0)
    • イントロスペクション:[.hm](https://gforth.org/manual/1.0/Header-methods.html#index-_002ehm-_0028-nt-_002d_002d-_0029-gforth_002d1_002e0) [immediate?](https://gforth.org/manual/1.0/Header-methods.html#index-immediate_003f-_0028-nt-_002d_002d-flag-_0029-gforth_002d1_002e0)
  • パフォーマンス:SwiftForthに匹敵するパフォーマンス

    • IP更新最適化により、ループ主導のプログラムが2倍高速化
    • リテラルスタックにより、定数畳み込みなどの最適化が可能

ドキュメント化されなくなった単語

これらの単語の多くは Gforth 1.0 にまだ存在しますが、将来削除される可能性があります。

  • .name ([id.](https://gforth.org/manual/1.0/Name-token.html#index-id_002e-_0028-nt-_002d_002d-_0029-gforth_002d0_002e6) を使用してください);
  • does-handler! (実装が変更されました。[set-does>](https://gforth.org/manual/1.0/CREATE_002e_002eDOES_003e-details.html#index-set_002ddoes_003e-_0028-xt-_002d_002d-_0029-gforth_002d1_002e0) を使用してください);
  • /does-handler (実装が変更されました。カーナル単語を参照してください);
  • @local# f@local# laddr# lp+!# ([@localn](https://gforth.org/manual/1.0/Locals-implementation.html#index-_0040localn-_0028-noffset-_002d_002d-w-_0029-gforth_002dinternal) [f@localn](https://gforth.org/manual/1.0/Locals-implementation.html#index-f_0040localn-_0028-noffset-_002d_002d-r-_0029-gforth_002dinternal) [lp+n](https://gforth.org/manual/1.0/Locals-implementation.html#index-lp_002bn-_0028-noffset-_002d_002d-c_002daddr-_0029-gforth_002dinternal) [lp+!](https://gforth.org/manual/1.0/Locals-implementation.html#index-lp_002b_0021-_0028-noffset-_002d_002d-_0029-gforth_002dinternal) に置き換えられました);
  • clear-libs (インターフェースが変更されました。 c-library ... [end-c-library](https://gforth.org/manual/1.0/Defining-library-interfaces.html#index-end_002dc_002dlibrary-_0028-_002d_002d-_0029-gforth_002d0_002e7) を使用してください)
  • <interpretation interpretation> <compilation compilation> create-interpret/compile ([set->int](https://gforth.org/manual/1.0/Header-methods.html#index-set_002d_003eint-_0028-xt-_002d_002d-_0029-gforth_002d1_002e0) [set-compsem](https://gforth.org/manual/1.0/How-to-define-combined-words.html#index-set_002dcompsem-_0028-xt-_002d_002d-_0029-gforth_002dexperimental) に置き換えられました)
  • naligned ([*aligned](https://gforth.org/manual/1.0/Address-arithmetic.html#index-_002aaligned-_0028-addr1-n-_002d_002d-addr2-_0029-gforth_002d1_002e0) を使用してください)
  • name>comp name>int ([name>compile](https://gforth.org/manual/1.0/Name-token.html#index-name_003ecompile-_0028-nt-_002d_002d-xt1-xt2-_0029-tools_002dext) [name>interpret](https://gforth.org/manual/1.0/Name-token.html#index-name_003einterpret-_0028-nt-_002d_002d-xt-_0029-tools_002dext) を使用してください)
  • path-allot ([dup](https://gforth.org/manual/1.0/Data-stack.html#index-dup-_0028-w-_002d_002d-w-w-_0029-core) , [0](https://gforth.org/manual/1.0/Dictionary-allocation.html#index-_002c-_0028-w-_002d_002d-_0029-core) , [allot](https://gforth.org/manual/1.0/Dictionary-allocation.html#index-allot-_0028-n-_002d_002d-_0029-core) を使用してください)
  • sl@ sw@ ul@ uw@ ([l@](https://gforth.org/manual/1.0/Special-Memory-Accesses.html#index-l_0040-_0028-c_002daddr-_002d_002d-u-_0029-gforth_002d0_002e7) [l>s](https://gforth.org/manual/1.0/Special-Memory-Accesses.html#index-l_003es-_0028-x-_002d_002d-n-_0029-gforth_002d1_002e0);[w@](https://gforth.org/manual/1.0/Special-Memory-Accesses.html#index-w_0040-_0028-c_002daddr-_002d_002d-u-_0029-gforth_002d0_002e5) [w>s](https://gforth.org/manual/1.0/Special-Memory-Accesses.html#index-w_003es-_0028-x-_002d_002d-n-_0029-gforth_002d1_002e0);[l@](https://gforth.org/manual/1.0/Special-Memory-Accesses.html#index-l_0040-_0028-c_002daddr-_002d_002d-u-_0029-gforth_002d0_002e7);[w@](https://gforth.org/manual/1.0/Special-Memory-Accesses.html#index-w_0040-_0028-c_002daddr-_002d_002d-u-_0029-gforth_002d0_002e5) を使用してください)。
  • 内部的なもので、ドキュメント化されなくなりました:;s block-position cfalign cfaligned compile-lp+! empty-buffer name?int s>number? s>unumber? save-buffer

その他の追加機能

  • リターンスタックを解釈的に使用できます(INCLUDED、EVALUATE などへのデータの受け渡しを除く)。

  • [help](https://gforth.org/manual/1.0/Help-on-Gforth.html#index-help-_0028-_0022rest_002dof_002dline_0022-_002d_002d-_0029-gforth_002d1_002e0) は単語のドキュメントまたはドキュメントノードを表示します。情報を提供するその他の単語:[authors](https://gforth.org/manual/1.0/Help-on-Gforth.html#index-authors-_0028-_002d_002d-_0029-gforth_002d1_002e0) [license](https://gforth.org/manual/1.0/Help-on-Gforth.html#index-license-_0028-_002d_002d-_0029-gforth_002d0_002e2)。

  • ブールフラグ:[select](https://gforth.org/manual/1.0/Boolean-Flags.html#index-select-_0028-u1-u2-f-_002d_002d-u-_0029-gforth_002d1_002e0)

  • 算術単語:

    • 単精度:[umin](https://gforth.org/manual/1.0/Single-precision.html#index-umin-_0028-u1-u2-_002d_002d-u-_0029-gforth_002d0_002e5) [umax](https://gforth.org/manual/1.0/Single-precision.html#index-umax-_0028-u1-u2-_002d_002d-u-_0029-gforth_002d1_002e0)
    • 明示的に切り捨て、対称、または符号なし除算単語:[/s](https://gforth.org/manual/1.0/Integer-division.html#index-_002fs-_0028-n1-n2-_002d_002d-n-_0029-gforth_002d1_002e0) [/f](https://gforth.org/manual/1.0/Integer-division.html#index-_002ff-_0028-n1-n2-_002d_002d-n-_0029-gforth_002d1_002e0) [u/](https://gforth.org/manual/1.0/Integer-division.html#index-u_002f-_0028-u1-u2-_002d_002d-u-_0029-gforth_002d1_002e0) [mods](https://gforth.org/manual/1.0/Integer-division.html#index-mods-_0028-n1-n2-_002d_002d-n-_0029-gforth_002d1_002e0) [modf](https://gforth.org/manual/1.0/Integer-division.html#index-modf-_0028-n1-n2-_002d_002d-n-_0029-gforth_002d1_002e0) [umod](https://gforth.org/manual/1.0/Integer-division.html#index-umod-_0028-u1-u2-_002d_002d-u-_0029-gforth_002d1_002e0) [/mods](https://gforth.org/manual/1.0/Integer-division.html#index-_002fmods-_0028-n1-n2-_002d_002d-n3-n4-_0029-gforth_002d1_002e0) [/modf](https://gforth.org/manual/1.0/Integer-division.html#index-_002fmodf-_0028-n1-n2-_002d_002d-n3-n4-_0029-gforth_002d1_002e0) [u/mod](https://gforth.org/manual/1.0/Integer-division.html#index-u_002fmod-_0028-u1-u2-_002d_002d-u3-u4-_0029-gforth_002d1_002e0) [du/mod](https://gforth.org/manual/1.0/Integer-division.html#index-du_002fmod-_0028-d-u-_002d_002d-n-u1-_0029-gforth_002d1_002e0) [*/s](https://gforth.org/manual/1.0/Integer-division.html#index-_002a_002fs-_0028-n1-n2-n3-_002d_002d-n4-_0029-gforth_002d1_002e0) [*/f](https://gforth.org/manual/1.0/Integer-division.html#index-_002a_002ff-_0028-n1-n2-n3-_002d_002d-n4-_0029-gforth_002d1_002e0) [u*/](https://gforth.org/manual/1.0/Integer-division.html#index-u_002a_002f-_0028-u1-u2-u3-_002d_002d-u4-_0029-gforth_002d1_002e0) [*/mods](https://gforth.org/manual/1.0/Integer-division.html#index-_002a_002fmods-_0028-n1-n2-n3-_002d_002d-n4-n5-_0029-gforth_002d1_002e0) [*/modf](https://gforth.org/manual/1.0/Integer-division.html#index-_002a_002fmodf-_0028-n1-n2-n3-_002d_002d-n4-n5-_0029-gforth_002d1_002e0) [u*/mod](https://gforth.org/manual/1.0/Integer-division.html#index-u_002a_002fmod-_0028-u1-u2-u3-_002d_002d-u4-u5-_0029-gforth_002d1_002e0) [ud/mod](https://gforth.org/manual/1.0/Integer-division.html#index-ud_002fmod-_0028-ud1-u2-_002d_002d-urem-udquot-_0029-gforth_002d1_002e0)
    • 2段階除算:[staged/-size](https://gforth.org/manual/1.0/Two_002dstage-integer-division.html#index-staged_002f_002dsize-_0028-_002d_002d-u-_0029-gforth_002d1_002e0) [/f-stage1m](https://gforth.org/manual/1.0/Two_002dstage-integer-division.html#index-_002ff_002dstage1m-_0028-n-a_002dreci-_002d_002d-_0029-gforth_002d1_002e0) [/f-stage2m](https://gforth.org/manual/1.0/Two_002dstage-integer-division.html#index-_002ff_002dstage2m-_0028-n1-a_002dreci-_002d_002d-nquotient-_0029-gforth_002d1_002e0) [modf-stage2m](https://gforth.org/manual/1.0/Two_002dstage-integer-division.html#index-modf_002dstage2m-_0028-n1-a_002dreci-_002d_002d-umodulus-_0029-gforth_002d1_002e0) [/modf-stage2m](https://gforth.org/manual/1.0/Two_002dstage-integer-division.html#index-_002fmodf_002dstage2m-_0028-n1-a_002dreci-_002d_002d-umodulus-nquotient-_0029-gforth_002d1_002e0) [u/-stage1m](https://gforth.org/manual/1.0/Two_002dstage-integer-division.html#index-u_002f_002dstage1m-_0028-u-a_002dreci-_002d_002d-_0029-gforth_002d1_002e0) [u/-stage2m](https://gforth.org/manual/1.0/Two_002dstage-integer-division.html#index-u_002f_002dstage2m-_0028-u1-a_002dreci-_002d_002d-uquotient-_0029-gforth_002d1_002e0) [umod-stage2m](https://gforth.org/manual/1.0/Two_002dstage-integer-division.html#index-umod_002dstage2m-_0028-u1-a_002dreci-_002d_002d-umodulus-_0029-gforth_002d1_002e0) [u/mod-stage2m](https://gforth.org/manual/1.0/Two_002dstage-integer-division.html#index-u_002fmod_002dstage2m-_0028-u1-a_002dreci-_002d_002d-umodulus-uquotient-_0029-gforth_002d1_002e0) [staged/-divisor](https://gforth.org/manual/1.0/Two_002dstage-integer-division.html#index-staged_002f_002ddivisor-_0028-addr1-_002d_002d-addr2-_0029-gforth_002d1_002e0)
    • ビット演算:[mux](https://gforth.org/manual/1.0/Bitwise-operations.html#index-mux-_0028-u1-u2-u3-_002d_002d-u-_0029-gforth_002d1_002e0) [arshift](https://gforth.org/manual/1.0/Bitwise-operations.html#index-arshift-_0028-n1-u-_002d_002d-n2-_0029-gforth_002d1_002e0) [dlshift](https://gforth.org/manual/1.0/Bitwise-operations.html#index-dlshift-_0028-ud1-u-_002d_002d-ud2-_0029-gforth_002d1_002e0) [drshift](https://gforth.org/manual/1.0/Bitwise-operations.html#index-drshift-_0028-ud1-u-_002d_002d-ud2-_0029-gforth_002d1_002e0) [darshift](https://gforth.org/manual/1.0/Bitwise-operations.html#index-darshift-_0028-d1-u-_002d_002d-d2-_0029-gforth_002d1_002e0) [>pow2](https://gforth.org/manual/1.0/Bitwise-operations.html#index-_003epow2-_0028-u1-_002d_002d-u2-_0029-gforth_002d1_002e0) [log2](https://gforth.org/manual/1.0/Bitwise-operations.html#index-log2-_0028-u-_002d_002d-n-_0029-gforth_002d1_002e0) [pow2?](https://gforth.org/manual/1.0/Bitwise-operations.html#index-pow2_003f-_0028-u-_002d_002d-f-_0029-gforth_002d1_002e0) [ctz](https://gforth.org/manual/1.0/Bitwise-operations.html#index-ctz-_0028-x-_002d_002d-u-_0029-gforth_002d1_002e0) [wrol](https://gforth.org/manual/1.0/Bitwise-operations.html#index-wrol-_0028-u1-u-_002d_002d-u2-_0029-gforth_002d1_002e0) [wror](https://gforth.org/manual/1.0/Bitwise-operations.html#index-wror-_0028-u1-u-_002d_002d-u2-_0029-gforth_002d1_002e0) [lrol](https://gforth.org/manual/1.0/Bitwise-operations.html#index-lrol-_0028-u1-u-_002d_002d-u2-_0029-gforth_002d1_002e0) [lror](https://gforth.org/manual/1.0/Bitwise-operations.html#index-lror-_0028-u1-u-_002d_002d-u2-_0029-gforth_002d1_002e0) [rol](https://gforth.org/manual/1.0/Bitwise-operations.html#index-rol-_0028-u1-u-_002d_002d-u2-_0029-gforth_002d1_002e0) [ror](https://gforth.org/manual/1.0/Bitwise-operations.html#index-ror-_0028-u1-u-_002d_002d-u2-_0029-gforth_002d1_002e0) [drol](https://gforth.org/manual/1.0/Bitwise-operations.html#index-drol-_0028-ud1-u-_002d_002d-ud2-_0029-gforth_002d1_002e0) [dror](https://gforth.org/manual/1.0/Bitwise-operations.html#index-dror-_0028-ud1-u-_002d_002d-ud2-_0029-gforth_002d1_002e0)
    • 疑似乱数生成器:[rnd](https://gforth.org/manual/1.0/Pseudo_002drandom-number-generator.html#index-rnd-_0028-_002d_002d-x-_0029-gforth_002d1_002e0) [random](https://gforth.org/manual/1.0/Pseudo_002drandom-number-generator.html#index-random-_0028-u1-_002d_002d-u2-_0029-gforth_002d1_002e0) [seed!](https://gforth.org/manual/1.0/Pseudo_002drandom-number-generator.html#index-seed_0021-_0028-x-_002d_002d-_0029-gforth_002d1_002e0)
    • 浮動小数点数:[f*+](https://gforth.org/manual/1.0/Floating-Point.html#index-f_002a_002b-_0028-r1-r2-r3-_002d_002d-r-_0029-gforth_002d1_002e0) [s>f](https://gforth.org/manual/1.0/Floating-Point.html#index-s_003ef-_0028-n-_002d_002d-r-_0029-floating_002dext) [f>s](https://gforth.org/manual/1.0/Floating-Point.html#index-f_003es-_0028-r-_002d_002d-n-_0029-floating_002dext) [fcopysign](https://gforth.org/manual/1.0/Floating-Point.html#index-fcopysign-_0028-r1-r2-_002d_002d-r3-_0029-gforth_002d1_002e0) [ftrunc](https://gforth.org/manual/1.0/Floating-Point.html#index-ftrunc-_0028-r1-_002d_002d-r2-_0029-floating_002dext) [v*](https://gforth.org/manual/1.0/Floating-Point.html#index-v_002a-_0028-f_002daddr1-nstride1-f_002daddr2-nstride2-ucount-_002d_002d-r-_0029-gforth_002d0_002e5) [faxpy](https://gforth.org/manual/1.0/Floating-Point.html#index-faxpy-_0028-ra-f_002dx-nstridex-f_002dy-nstridey-ucount-_002d_002d-_0029-gforth_002d0_002e5) [infinity](https://gforth.org/manual/1.0/Floating-Point.html#index-infinity-_0028-_002d_002d-r-_0029-gforth_002d1_002e0) [inf](https://gforth.org/manual/1.0/Floating-Point.html#index-inf-_0028-_002d_002d-r-_0029-gforth_002d1_002e0) [-infinity](https://gforth.org/manual/1.0/Floating-Point.html#index-_002dinfinity-_0028-_002d_002d-r-_0029-gforth_002d1_002e0) [-inf](https://gforth.org/manual/1.0/Floating-Point.html#index-_002dinf-_0028-_002d_002d-r-_0029-gforth_002d1_002e0) [nan](https://gforth.org/manual/1.0/Floating-Point.html#index-NaN-_0028-_002d_002d-r-_0029-gforth_002d1_002e0)
  • スタック操作:

    • データスタック:[third](https://gforth.org/manual/1.0/Data-stack.html#index-third-_0028-w1-w2-w3-_002d_002d-w1-w2-w3-w1-_0029-gforth_002d1_002e0) [fourth](https://gforth.org/manual/1.0/Data-stack.html#index-fourth-_0028-w1-w2-w3-w4-_002d_002d-w1-w2-w3-w4-w1-_0029-gforth_002d1_002e0)
    • FPスタック:[fthird](https://gforth.org/manual/1.0/Floating-point-stack.html#index-fthird-_0028-r1-r2-r3-_002d_002d-r1-r2-r3-r1-_0029-gforth_002d1_002e0) [ffourth](https://gforth.org/manual/1.0/Floating-point-stack.html#index-ffourth-_0028-r1-r2-r3-r4-_002d_002d-r1-r2-r3-r4-r1-_0029-gforth_002d1_002e0) [f-rot](https://gforth.org/manual/1.0/Floating-point-stack.html#index-f_002drot-_0028-r1-r2-r3-_002d_002d-r3-r1-r2-_0029-gforth_002d1_002e0)
    • リターンスタック:[r'@](https://gforth.org/manual/1.0/Return-stack.html#index-r_0027_0040-_0028-r_003aw-r_003aw2-_002d_002d-r_003aw-r_003aw2-w-_0029-gforth_002d1_002e0) [rpick](https://gforth.org/manual/1.0/Return-stack.html#index-rpick-_0028-R_003awu-_002e_002e_002e-R_003aw0-u-_002d_002d-R_003awu-_002e_002e_002e-R_003aw0-wu-_0029-gforth_002d1_002e0) [n>r](https://gforth.org/manual/1.0/Return-stack.html#index-n_003er-_0028-x1-_002e_002e-xn-n-_002d_002d-R_003axn_002e_002eR_003ax1-R_003an-_0029-tools_002dext) [nr>](https://gforth.org/manual/1.0/Return-stack.html#index-nr_003e-_0028-R_003axn_002e_002eR_003ax1-R_003an-_002d_002d-x1-_002e_002e-xn-n-_0029-tools_002dext) [f>r](https://gforth.org/manual/1.0/Return-stack.html#index-f_003er-_0028-r-_002d_002d-_0029-gforth_002dexperimental) [fr>](https://gforth.org/manual/1.0/Return-stack.html#index-fr_003e-_0028-_002d_002d-r-_0029-gforth_002dexperimental) [fr@](https://gforth.org/manual/1.0/Return-stack.html#index-fr_0040-_0028-_002d_002d-r-_0029-gforth_002dexperimental)
  • 辞書割り当て:[->here](https://gforth.org/manual/1.0/Dictionary-allocation.html#index-_002d_003ehere-_0028-addr-_002d_002d-_0029-gforth_002d1_002e0) [w,](https://gforth.org/manual/1.0/Dictionary-allocation.html#index-w_002c-_0028-x-_002d_002d-_0029-gforth_002d1_002e0) [l,](https://gforth.org/manual/1.0/Dictionary-allocation.html#index-l_002c-_0028-l-_002d_002d-_0029-gforth_002d1_002e0) [x,](https://gforth.org/manual/1.0/Dictionary-allocation.html#index-x_002c-_0028-x-_002d_002d-_0029-gforth_002d1_002e0) [xd,](https://gforth.org/manual/1.0/Dictionary-allocation.html#index-xd_002c-_0028-xd-_002d_002d-_0029-gforth_002d1_002e0) [a,](https://gforth.org/manual/1.0/Dictionary-allocation.html#index-A_002c-_0028-addr-_002d_002d-_0029-gforth_002d0_002e2) [mem,](https://gforth.org/manual/1.0/Dictionary-allocation.html#index-mem_002c-_0028-addr-u-_002d_002d-_0029-gforth_002d0_002e6) [save-mem-dict](https://gforth.org/manual/1.0/Dictionary-allocation.html#index-save_002dmem_002ddict-_0028-addr1-u-_002d_002d-addr2-u-_0029-gforth_002d0_002e7)

  • ヒープ割り当て:[save-mem](https://gforth.org/manual/1.0/Memory-blocks-and-heap-allocation.html#index-save_002dmem-_0028-addr1-u-_002d_002d-addr2-u-_0029-gforth_002d0_002e2) [extend-mem](https://gforth.org/manual/1.0/Memory-blocks-and-heap-allocation.html#index-extend_002dmem-_0028-addr1-u1-u-_002d_002d-addr-addr2-u2-_0029-gforth_002dexperimental) [free-mem-var](https://gforth.org/manual/1.0/Memory-blocks-and-heap-allocation.html#index-free_002dmem_002dvar-_0028-addr-_002d_002d-_0029-gforth_002dexperimental)。拡張可能なバッファ:[buffer%](https://gforth.org/manual/1.0/Growable-memory-buffers.html#index-buffer_0025-_0028-_002d_002d-u1-u2-_0029-gforth_002dexperimental) [init-buffer](https://gforth.org/manual/1.0/Growable-memory-buffers.html#index-init_002dbuffer-_0028-addr-_002d_002d-_0029-gforth_002dexperimental) [adjust-buffer](https://gforth.org/manual/1.0/Growable-memory-buffers.html#index-adjust_002dbuffer-_0028-u-addr-_002d_002d-_0029-gforth_002dexperimental)。

  • メモリアクセス:

    • ジェネリック:[*aligned](https://gforth.org/manual/1.0/Address-arithmetic.html#index-_002aaligned-_0028-addr1-n-_002d_002d-addr2-_0029-gforth_002d1_002e0) [*align](https://gforth.org/manual/1.0/Address-arithmetic.html#index-_002aalign-_0028-n-_002d_002d-_0029-gforth_002d1_002e0)
    • セル:[!@](https://gforth.org/manual/1.0/Memory-Access.html#index-_0021_0040-_0028-w1-a_002daddr-_002d_002d-w2-_0029-gforth_002dexperimental) [+!@](https://gforth.org/manual/1.0/Memory-Access.html#index-_002b_0021_0040-_0028-u1-a_002daddr-_002d_002d-u2-_0029-gforth_002dexperimental) [cell-](https://gforth.org/manual/1.0/Address-arithmetic.html#index-cell_002d-_0028-a_002daddr1-_002d_002d-a_002daddr2-_0029-core) [cell/](https://gforth.org/manual/1.0/Address-arithmetic.html#index-cell_002f-_0028-n1-_002d_002d-n2-_0029-gforth_002d1_002e0) [th](https://gforth.org/manual/1.0/Address-arithmetic.html#index-th-_0028-a_002daddr1-n-_002d_002d-a_002daddr2-_0029-gforth_002d0_002e7) [th@](https://gforth.org/manual/1.0/Address-arithmetic.html#index-th_0040-_0028-a_002daddr-n-_002d_002d-u-_0029-gforth_002d1_002e0) [th!](https://gforth.org/manual/1.0/Address-arithmetic.html#index-th_0021-_0028-u-a_002daddr-n-_002d_002d-_0029-gforth_002d1_002e0)
    • 16ビット(w)、32ビット(l)、64ビット(x、xd)単位でメモリにアクセスするための単語:[w@](https://gforth.org/manual/1.0/Special-Memory-Accesses.html#index-w_0040-_0028-c_002daddr-_002d_002d-u-_0029-gforth_002d0_002e5) [w!](https://gforth.org/manual/1.0/Special-Memory-Accesses.html#index-w_0021-_0028-w-c_002daddr-_002d_002d-_0029-gforth_002d0_002e7) [l@](https://gforth.org/manual/1.0/Special-Memory-Accesses.html#index-l_0040-_0028-c_002daddr-_002d_002d-u-_0029-gforth_002d0_002e7) [l!](https://gforth.org/manual/1.0/Special-Memory-Accesses.html#index-l_0021-_0028-w-c_002daddr-_002d_002d-_0029-gforth_002d0_002e7) [x@](https://gforth.org/manual/1.0/Special-Memory-Accesses.html#index-x_0040-_0028-c_002daddr-_002d_002d-u-_0029-gforth_002d1_002e0) [x!](https://gforth.org/manual/1.0/Special-Memory-Accesses.html#index-x_0021-_0028-w-c_002daddr-_002d_002d-_0029-gforth_002d1_002e0) [xd@](https://gforth.org/manual/1.0/Special-Memory-Accesses.html#index-xd_0040-_0028-c_002daddr-_002d_002d-ud-_0029-gforth_002d1_002e0) [xd!](https://gforth.org/manual/1.0/Special-Memory-Accesses.html#index-xd_0021-_0028-ud-c_002daddr-_002d_002d-_0029-gforth_002d1_002e0)
    • バイトオーダーの異なるメモリを扱うための単語:[wbe](https://gforth.org/manual/1.0/Special-Memory-Accesses.html#index-wbe-_0028-u1-_002d_002d-u2-_0029-gforth_002d1_002e0) [wle](https://gforth.org/manual/1.0/Special-Memory-Accesses.html#index-wle-_0028-u1-_002d_002d-u2-_0029-gforth_002d1_002e0) [lbe](https://gforth.org/manual/1.0/Special-Memory-Accesses.html#index-lbe-_0028-u1-_002d_002d-u2-_0029-gforth_002d1_002e0) [lle](https://gforth.org/manual/1.0/Special-Memory-Accesses.html#index-lle-_0028-u1-_002d_002d-u2-_0029-gforth_002d1_002e0) [xbe](https://gforth.org/manual/1.0/Special-Memory-Accesses.html#index-xbe-_0028-u1-_002d_002d-u2-_0029-gforth_002d1_002e0) [xle](https://gforth.org/manual/1.0/Special-Memory-Accesses.html#index-xle-_0028-u1-_002d_002d-u2-_0029-gforth_002d1_002e0) [xdbe](https://gforth.org/manual/1.0/Special-Memory-Accesses.html#index-xdbe-_0028-ud1-_002d_002d-ud2-_0029-gforth_002d1_002e0) [xdle](https://gforth.org/manual/1.0/Special-Memory-Accesses.html#index-xdle-_0028-ud1-_002d_002d-ud2-_0029-gforth_002d1_002e0)
    • 符号拡張のための単語:[c>s](https://gforth.org/manual/1.0/Special-Memory-Accesses.html#index-c_003es-_0028-x-_002d_002d-n-_0029-gforth_002d1_002e0) [w>s](https://gforth.org/manual/1.0/Special-Memory-Accesses.html#index-w_003es-_0028-x-_002d_002d-n-_0029-gforth_002d1_002e0) [l>s](https://gforth.org/manual/1.0/Special-Memory-Accesses.html#index-l_003es-_0028-x-_002d_002d-n-_0029-gforth_002d1_002e0) [x>s](https://gforth.org/manual/1.0/Special-Memory-Accesses.html#index-x_003es-_0028-x-_002d_002d-n-_0029-gforth_002d1_002e0) [xd>s](https://gforth.org/manual/1.0/Special-Memory-Accesses.html#index-xd_003es-_0028-xd-_002d_002d-d-_0029-gforth_002d1_002e0)
    • 割り当て用:[w,](https://gforth.org/manual/1.0/Dictionary-allocation.html#index-w_002c-_0028-x-_002d_002d-_0029-gforth_002d1_002e0) [l,](https://gforth.org/manual/1.0/Dictionary-allocation.html#index-l_002c-_0028-l-_002d_002d-_0029-gforth_002d1_002e0) [x,](https://gforth.org/manual/1.0/Dictionary-allocation.html#index-x_002c-_0028-x-_002d_002d-_0029-gforth_002d1_002e0) [xd,](https://gforth.org/manual/1.0/Dictionary-allocation.html#index-xd_002c-_0028-xd-_002d_002d-_0029-gforth_002d1_002e0)
    • サイズ用:[/x](https://gforth.org/manual/1.0/Address-arithmetic.html#index-_002fx-_0028-_002d_002d-u-_0029-gforth_002d1_002e0)
    • アライメント用:[waligned](https://gforth.org/manual/1.0/Address-arithmetic.html#index-waligned-_0028-addr-_002d_002d-addr_0027-_0029-gforth_002d1_002e0) [walign](https://gforth.org/manual/1.0/Address-arithmetic.html#index-walign-_0028-_002d_002d-_0029-gforth_002d1_002e0) [laligned](https://gforth.org/manual/1.0/Address-arithmetic.html#index-laligned-_0028-addr-_002d_002d-addr_0027-_0029-gforth_002d1_002e0) [lalign](https://gforth.org/manual/1.0/Address-arithmetic.html#index-lalign-_0028-_002d_002d-_0029-gforth_002d1_002e0) [xaligned](https://gforth.org/manual/1.0/Address-arithmetic.html#index-xaligned-_0028-addr-_002d_002d-addr_0027-_0029-gforth_002d1_002e0) [xalign](https://gforth.org/manual/1.0/Address-arithmetic.html#index-xalign-_0028-_002d_002d-_0029-gforth_002d1_002e0)
    • その他のサイズ用:[char-](https://gforth.org/manual/1.0/Address-arithmetic.html#index-char_002d-_0028-c_002daddr1-_002d_002d-c_002daddr2-_0029-gforth_002d0_002e7) [float/](https://gforth.org/manual/1.0/Address-arithmetic.html#index-float_002f-_0028-n1-_002d_002d-n2-_0029-gforth_002d1_002e0) [sfloat/](https://gforth.org/manual/1.0/Address-arithmetic.html#index-sfloat_002f-_0028-n1-_002d_002d-n2-_0029-gforth_002d1_002e0) [dfloat/](https://gforth.org/manual/1.0/Address-arithmetic.html#index-dfloat_002f-_0028-n1-_002d_002d-n2-_0029-gforth_002d1_002e0)
  • Xchars:[xc@](https://gforth.org/manual/1.0/Xchars-and-Unicode.html#index-xc_0040-_0028-xc_002daddr-_002d_002d-xc-_0029-xchar_002dext) [xc@+?](https://gforth.org/manual/1.0/Xchars-and-Unicode.html#index-xc_0040_002b_003f-_0028-xc_002daddr1-u1-_002d_002d-xc_002daddr2-u2-xc-_0029-gforth_002dexperimental) [xc!+](https://gforth.org/manual/1.0/Xchars-and-Unicode.html#index-xc_0021_002b-_0028-xc-xc_002daddr1-_002d_002d-xc_002daddr2-_0029-xchar) [xc-width](https://gforth.org/manual/1.0/Xchars-and-Unicode.html#index-xc_002dwidth-_0028-xc-_002d_002d-n-_0029-xchar_002dext) [xhold](https://gforth.org/manual/1.0/Xchars-and-Unicode.html#index-xhold-_0028-xc-_002d_002d-_0029-xchar_002dext) [xc,](https://gforth.org/manual/1.0/Xchars-and-Unicode.html#index-xc_002c-_0028-xc-_002d_002d-_0029-xchar) [invalid-char](https://gforth.org/manual/1.0/Xchars-and-Unicode.html#index-invalid_002dchar-_0028-_002d_002d-xc-_0029-gforth_002dexperimental)

  • 文字列および文字定数:[newline](https://gforth.org/manual/1.0/String-and-character-literals.html#index-newline-_0028-_002d_002d-c_002daddr-u-_0029-gforth_002d0_002e5) [#tab](https://gforth.org/manual/1.0/String-and-character-literals.html#index-_0023tab-_0028-_002d_002d-c-_0029-gforth_002d0_002e2) [#lf](https://gforth.org/manual/1.0/String-and-character-literals.html#index-_0023lf-_0028-_002d_002d-c-_0029-gforth_002d0_002e2) [#cr](https://gforth.org/manual/1.0/String-and-character-literals.html#index-_0023cr-_0028-_002d_002d-c-_0029-gforth_002d0_002e2) [#ff](https://gforth.org/manual/1.0/String-and-character-literals.html#index-_0023ff-_0028-_002d_002d-c-_0029-gforth_002d0_002e2) [#bs](https://gforth.org/manual/1.0/String-and-character-literals.html#index-_0023bs-_0028-_002d_002d-c-_0029-gforth_002d0_002e2) [#del](https://gforth.org/manual/1.0/String-and-character-literals.html#index-_0023del-_0028-_002d_002d-c-_0029-gforth_002d0_002e2) [#bell](https://gforth.org/manual/1.0/String-and-character-literals.html#index-_0023bell-_0028-_002d_002d-c-_0029-gforth_002d0_002e2) [#esc](https://gforth.org/manual/1.0/String-and-character-literals.html#index-_0023esc-_0028-_002d_002d-c-_0029-gforth_002d0_002e5) [#eof](https://gforth.org/manual/1.0/String-and-character-literals.html#index-_0023eof-_0028-_002d_002d-c-_0029-gforth_002d0_002e7)

  • 文字列:[string-suffix?](https://gforth.org/manual/1.0/String-words.html#index-string_002dsuffix_003f-_0028-c_002daddr1-u1-c_002daddr2-u2-_002d_002d-f-_0029-gforth_002d1_002e0) [scan](https://gforth.org/manual/1.0/String-words.html#index-scan-_0028-c_002daddr1-u1-c-_002d_002d-c_002daddr2-u2-_0029-gforth_002d0_002e2) [scan-back](https://gforth.org/manual/1.0/String-words.html#index-scan_002dback-_0028-c_002daddr-u1-c-_002d_002d-c_002daddr-u2-_0029-gforth_002d0_002e7) [skip](https://gforth.org/manual/1.0/String-words.html#index-skip-_0028-c_002daddr1-u1-c-_002d_002d-c_002daddr2-u2-_0029-gforth_002d0_002e2) [$split](https://gforth.org/manual/1.0/String-words.html#index-_0024split-_0028-c_002daddr-u-char-_002d_002d-c_002daddr-u1-c_002daddr2-u2-_0029-gforth_002d0_002e7) [nosplit?](https://gforth.org/manual/1.0/String-words.html#index-nosplit_003f-_0028-addr1-u1-addr2-u2-_002d_002d-addr1-u1-addr2-u2-flag-_0029-gforth_002dexperimental) [safe/string](https://gforth.org/manual/1.0/String-words.html#index-safe_002fstring-_0028-c_002daddr1-u1-n-_002d_002d-c_002daddr2-u2-_0029-gforth_002d1_002e0) [insert](https://gforth.org/manual/1.0/String-words.html#index-insert-_0028-c_002daddr1-u1-c_002daddr2-u2-_002d_002d-_0029-gforth_002d0_002e7) [delete](https://gforth.org/manual/1.0/String-words.html#index-delete-_0028-c_002daddr-u-u1-_002d_002d-_0029-gforth_002d0_002e7) [cstring>sstring](https://gforth.org/manual/1.0/String-words.html#index-cstring_003esstring-_0028-c_002daddr-_002d_002d-c_002daddr-u-_0029-gforth_002d0_002e2) [capscompare](https://gforth.org/manual/1.0/String-words.html#index-capscompare-_0028-c_002daddr1-u1-c_002daddr2-u2-_002d_002d-n-_0029-gforth_002d0_002e7) [capsstring-prefix?](https://gforth.org/manual/1.0/String-words.html#index-capsstring_002dprefix_003f-_0028-c_002daddr1-u1-c_002daddr2-u2-_002d_002d-f-_0029-gforth_002d1_002e0) [capssearch](https://gforth.org/manual/1.0/String-words.html#index-capssearch-_0028-c_002daddr1-u1-c_002daddr2-u2-_002d_002d-c_002daddr3-u3-flag-_0029-gforth_002d1_002e0) [s+](https://gforth.org/manual/1.0/String-words.html#index-s_002b-_0028-c_002daddr1-u1-c_002daddr2-u2-_002d_002d-c_002daddr-u-_0029-gforth_002d0_002e7) [append](https://gforth.org/manual/1.0/String-words.html#index-append-_0028-c_002daddr1-u1-c_002daddr2-u2-_002d_002d-c_002daddr-u-_0029-gforth_002d0_002e7)

  • 出力を文字列にリダイレクトする単語:[>string-execute](https://gforth.org/manual/1.0/String-words.html#index-_003estring_002dexecute-_0028-_002e_002e_002e-xt-_002d_002d-_002e_002e_002e-c_002daddr-u-_0029-gforth_002d1_002e0) [$tmp](https://gforth.org/manual/1.0/String-words.html#index-_0024tmp-_0028-xt-_002d_002d-addr-u-_0029-gforth_002d1_002e0)

  • trings(自動メモリ管理付き文字列表現):`'trings (String representation with automatic memory management):
    ! $@ $@len $!len $+!len $del $ins +!c+! c+! $free $init $iter $over $exec $. $slurp $slurp-file $+slurp $+slurp-file $variable'

  • tringarrays:`'tring arrays:
    [] $
    ! $
    +! $+! $
    @ $

$

map $
slurp $
slurp-file $
. $
free $
variable'

  • 国際化とローカライズ:l" [locales](https://gforth.org/manual/1.0/Internationalization-and-localization.html#index-locales-_0028-_002d_002d-_0029-gforth_002dexperimental) [native@](https://gforth.org/manual/1.0/Internationalization-and-localization.html#index-native_0040-_0028-lsid-_002d_002d-c_002daddr-u-_0029-gforth_002dexperimental) [locale@](https://gforth.org/manual/1.0/Internationalization-and-localization.html#index-locale_0040-_0028-lsid-_002d_002d-c_002daddr-u-_0029-gforth_002dexperimental) [program](https://gforth.org/manual/1.0/Internationalization-and-localization.html#index-program-_0028-_002d_002d-_0029-gforth_002dexperimental) [default](https://gforth.org/manual/1.0/Internationalization-and-localization.html#index-default-_0028-_002d_002d-_0029-gforth_002dexperimental) [locale-csv-out](https://gforth.org/manual/1.0/Internationalization-and-localization.html#index-locale_002dcsv_002dout-_0028-_0022name_0022-_002d_002d-_0029-gforth_002dexperimental) [locale-csv](https://gforth.org/manual/1.0/Internationalization-and-localization.html#index-locale_002dcsv-_0028-_0022name_0022-_002d_002d-_0029-gforth_002dexperimental) [.locale-csv](https://gforth.org/manual/1.0/Internationalization-and-localization.html#index-_002elocale_002dcsv-_0028-_002d_002d-_0029-gforth_002dexperimental) [locale!](https://gforth.org/manual/1.0/Internationalization-and-localization.html#index-locale_0021-_0028-addr-u-lsid-_002d_002d-_0029-gforth_002dexperimental) [locale:](https://gforth.org/manual/1.0/Internationalization-and-localization.html#index-Locale_003a-_0028-_0022name_0022-_002d_002d-_0029-gforth_002dexperimental)

  • 文字列内の置換:[macros-wordlist](https://gforth.org/manual/1.0/Substitute.html#index-macros_002dwordlist-_0028-_002d_002d-wid-_0029-gforth_002dexperimental) [replaces](https://gforth.org/manual/1.0/Substitute.html#index-replaces-_0028-addr1-len1-addr2-len2-_002d_002d-_0029-string_002dext) [replacer:](https://gforth.org/manual/1.0/Substitute.html#index-replacer_003a-_0028-_0022name_0022-_002d_002d-_0029-gforth_002dexperimental) [.substitute](https://gforth.org/manual/1.0/Substitute.html#index-_002esubstitute-_0028-addr1-len1-_002d_002d-n-_002f-ior-_0029-gforth_002dexperimental) [$substitute](https://gforth.org/manual/1.0/Substitute.html#index-_0024substitute-_0028-addr1-len1-_002d_002d-addr2-len2-n_002fior-_0029-gforth_002dexperimental) [substitute](https://gforth.org/manual/1.0/Substitute.html#index-substitute-_0028-addr1-len1-addr2-len2-_002d_002d-addr2-len3-n_002fior-_0029-string_002dext) [unescape](https://gforth.org/manual/1.0/Substitute.html#index-unescape-_0028-addr1-u1-dest-_002d_002d-dest-u2-_0029-string_002dext) [$unescape](https://gforth.org/manual/1.0/Substitute.html#index-_0024unescape-_0028-addr1-u1-_002d_002d-addr2-u2-_0029-gforth_002dexperimental)

  • カウント付き文字列:[place](https://gforth.org/manual/1.0/Counted-string-words.html#index-place-_0028-c_002daddr1-u-c_002daddr2-_002d_002d-_0029-gforth_002dexperimental) [string,](https://gforth.org/manual/1.0/Counted-string-words.html#index-string_002c-_0028-c_002daddr-u-_002d_002d-_0029-gforth_002d0_002e2)

  • 制御フロー

    • カウント付きループ:[-[do](https://gforth.org/manual/1.0/Counted-Loops.html#index-_002d_005bdo-_0028-compilation-_002d_002d-do_002dsys-_003b-run_002dtime-n1-n2-_002d_002d-_007c-loop_002dsys-_0029-gforth_002dexperimental) [u-[do](https://gforth.org/manual/1.0/Counted-Loops.html#index-u_002d_005bdo-_0028-compilation-_002d_002d-do_002dsys-_003b-run_002dtime-u1-u2-_002d_002d-_007c-loop_002dsys-_0029-gforth_002dexperimental) [array>mem](https://gforth.org/manual/1.0/Counted-Loops.html#index-array_003emem-_0028-uelements-uelemsize-_002d_002d-ubytes-uelemsize-_0029-gforth_002dexperimental) [mem+do](https://gforth.org/manual/1.0/Counted-Loops.html#index-mem_002bdo-_0028-compilation-_002d_002d-w-xt-do_002dsys-_003b-run_002dtime-addr-ubytes-_002bnstride-_002d_002d-_0029-gforth_002dexperimental) [mem-do](https://gforth.org/manual/1.0/Counted-Loops.html#index-mem_002ddo-_0028-compilation-_002d_002d-w-xt-do_002dsys-_003b-run_002dtime-addr-ubytes-_002bnstride-_002d_002d-_0029-gforth_002dexperimental) [i'](https://gforth.org/manual/1.0/Counted-Loops.html#index-i_0027-_0028-R_003aw-R_003aw2-_002d_002d-R_003aw-R_003aw2-w-_0029-gforth_002d0_002e2) [delta-i](https://gforth.org/manual/1.0/Counted-Loops.html#index-delta_002di-_0028-r_003aulimit-r_003au-_002d_002d-r_003aulimit-r_003au-u2-_0029-gforth_002d1_002e0)
    • Eakerの[case](https://gforth.org/manual/1.0/General-control-structures-with-CASE.html#index-case-_0028-compilation-_002d_002d-case_002dsys-_003b-run_002dtime-_002d_002d-_0029-core_002dext) をループに一般化:[next-case](https://gforth.org/manual/1.0/General-control-structures-with-CASE.html#index-next_002dcase-_0028-compilation-case_002dsys-_002d_002d-_003b-run_002dtime-_002d_002d-_0029-gforth_002d1_002e0) [?of](https://gforth.org/manual/1.0/General-control-structures-with-CASE.html#index-_003fof-_0028-compilation-_002d_002d-of_002dsys-_003b-run_002dtime-f-_002d_002d-_0029-gforth_002d1_002e0) [contof](https://gforth.org/manual/1.0/General-control-structures-with-CASE.html#index-contof-_0028-compilation-case_002dsys1-of_002dsys-_002d_002d-case_002dsys2-_003b-run_002dtime-_002d_002d-_0029-gforth_002d1_002e0)
    • 低レベル制御フロー単語:[cs-drop](https://gforth.org/manual/1.0/Arbitrary-control-structures.html#index-CS_002dDROP-_0028-dest_002forig-_002d_002d-_0029-gforth_002d1_002e0)
    • 終了:[?exit](https://gforth.org/manual/1.0/Calls-and-returns.html#index-_003fEXIT-_0028-_002d_002d-_0029-gforth_002d0_002e2) [execute-exit](https://gforth.org/manual/1.0/Execution-token.html#index-execute_002dexit-_0028-compilation-_002d_002d-_003b-run_002dtime-xt-nest_002dsys-_002d_002d-_0029-gforth_002d1_002e0)
    • 例外と警告:[fast-throw](https://gforth.org/manual/1.0/Exception-Handling.html#index-fast_002dthrow-_0028-_002e_002e_002e-nerror-_002d_002d-_002e_002e_002e-nerror-_0029-gforth_002dexperimental) [exceptions](https://gforth.org/manual/1.0/Exception-Handling.html#index-exceptions-_0028-xt-n1-_002d_002d-n2-_0029-gforth_002d1_002e0) [?errno-throw](https://gforth.org/manual/1.0/Exception-Handling.html#index-_003ferrno_002dthrow-_0028-f-_002d_002d-_0029-gforth_002d1_002e0) [?ior](https://gforth.org/manual/1.0/Exception-Handling.html#index-_003fior-_0028-x-_002d_002d-_0029-gforth_002d1_002e0) [catch-nobt](https://gforth.org/manual/1.0/Exception-Handling.html#index-catch_002dnobt-_0028-x1-_002e_002e-xn-xt-_002d_002d-y1-_002e_002e-ym-0-_002f-z1-_002e_002e-zn-error-_0029-gforth_002dexperimental) warning" [warnings](https://gforth.org/manual/1.0/Exception-Handling.html#index-warnings-_0028-_002d_002d-addr-_0029-gforth_002d0_002e2)
  • 単語の定義:[avariable](https://gforth.org/manual/1.0/Variables.html#index-AVariable-_0028-_0022name_0022-_002d_002d-_0029-gforth_002d0_002e2) [buffer:](https://gforth.org/manual/1.0/Variables.html#index-buffer_003a-_0028-u-_0022name_0022-_002d_002d-_0029-core_002dext) [aconstant](https://gforth.org/manual/1.0/Constants.html#index-AConstant-_0028-addr-_0022name_0022-_002d_002d-_0029-gforth_002d0_002e2)

    • 前方宣言:[forward](https://gforth.org/manual/1.0/Calls-and-returns.html#index-forward-_0028-_0022name_0022-_002d_002d-_0029-gforth_002d1_002e0) [.unresolved](https://gforth.org/manual/1.0/Calls-and-returns.html#index-_002eunresolved-_0028-_002d_002d-_0029-gforth_002d1_002e0)
    • 値:[avalue](https://gforth.org/manual/1.0/Values.html#index-AValue-_0028-w-_0022name_0022-_002d_002d-_0029-gforth_002d0_002e6) [2value](https://gforth.org/manual/1.0/Values.html#index-2Value-_0028-w1-w2-_0022name_0022-_002d_002d-_0029-double_002dext) [fvalue](https://gforth.org/manual/1.0/Values.html#index-fvalue-_0028-r-_0022name_0022-_002d_002d-_0029-floating_002dext) [+to](https://gforth.org/manual/1.0/Values.html#index-_002bTO-_0028-value-_002e_002e_002e-_0022name_0022-_002d_002d-_0029-gforth_002d1_002e0) [addressable:](https://gforth.org/manual/1.0/Values.html#index-addressable_003a-_0028-_002d_002d-_0029-gforth_002dexperimental) [addr](https://gforth.org/manual/1.0/Values.html#index-addr-_0028-interpretation-_0022name_0022-_002e_002e_002e-_002d_002d-addr_003b-compilation-_0022name_0022-_002d_002d-_003b-run_002dtime-_002e_002e_002e-_002d_002d-addr-_0029-gforth_002d1_002e0).
    • インライン定義:[inline:](https://gforth.org/manual/1.0/Inline-Definitions.html#index-inline_003a-_0028-_0022name_0022-_002d_002d-inline_003a_002dsys-_0029-gforth_002dexperimental) [;inline](https://gforth.org/manual/1.0/Inline-Definitions.html#index-_003binline-_0028-inline_003a_002dsys-_002d_002d-_0029-gforth_002dexperimental)
    • 引用:[[:](https://gforth.org/manual/1.0/Quotations.html#index-_005b_003a-_0028-compile_002dtime_003a-_002d_002d-quotation_002dsys-flag-colon_002dsys-_0029-gforth_002d1_002e0) [;]](https://gforth.org/manual/1.0/Quotations.html#index-_003b_005d-_0028-compile_002dtime_003a-quotation_002dsys-_002d_002d-_003b-run_002dtime_003a-_002d_002d-xt-_0029-gforth_002d1_002e0)
    • 遅延単語:[:is](https://gforth.org/manual/1.0/Deferred-Words.html#index-_003ais-_0028-_0022name_0022-_002d_002d-_0029-gforth_002dexperimental) [preserve](https://gforth.org/manual/1.0/Deferred-Words.html#index-preserve-_0028-compilation-_0022name_0022-_002d_002d-_003b-run_002dtime-_002d_002d-_0029-gforth_002d1_002e0) [wrap-xt](https://gforth.org/manual/1.0/Deferred-Words.html#index-wrap_002dxt-_0028-_002e_002e_002e-xt1-xt2-xt3-_002d_002d-_002e_002e_002e-_0029-gforth_002d1_002e0)
    • 構造体:[wfield:](https://gforth.org/manual/1.0/Standard-Structures.html#index-wfield_003a-_0028-u1-_0022name_0022-_002d_002d-u2-_0029-gforth_002d1_002e0) [lfield:](https://gforth.org/manual/1.0/Standard-Structures.html#index-lfield_003a-_0028-u1-_0022name_0022-_002d_002d-u2-_0029-gforth_002d1_002e0) [xfield:](https://gforth.org/manual/1.0/Standard-Structures.html#index-xfield_003a-_0028-u1-_0022name_0022-_002d_002d-u2-_0029-gforth_002d1_002e0) [extend-structure](https://gforth.org/manual/1.0/Structure-Extension.html#index-extend_002dstructure-_0028-n-_0022name_0022-_002d_002d-struct_002dsys-n-_0029-gforth_002d1_002e0)
    • ユーザー定義スタック:[stack](https://gforth.org/manual/1.0/User_002ddefined-Stacks.html#index-stack-_0028-n-_002d_002d-stack-_0029-gforth_002dexperimental) [stack:](https://gforth.org/manual/1.0/User_002ddefined-Stacks.html#index-stack_003a-_0028-n-_0022name_0022-_002d_002d-_0029-gforth_002dexperimental) [stack>](https://gforth.org/manual/1.0/User_002ddefined-Stacks.html#index-stack_003e-_0028-stack-_002d_002d-x-_0029-gforth_002dexperimental) [>stack](https://gforth.org/manual/1.0/User_002ddefined-Stacks.html#index-_003estack-_0028-x-stack-_002d_002d-_0029-gforth_002dexperimental) [>back](https://gforth.org/manual/1.0/User_002ddefined-Stacks.html#index-_003eback-_0028-x-stack-_002d_002d-_0029-gforth_002dexperimental) [back>](https://gforth.org/manual/1.0/User_002ddefined-Stacks.html#index-back_003e-_0028-stack-_002d_002d-x-_0029-gforth_002dexperimental) [+after](https://gforth.org/manual/1.0/User_002ddefined-Stacks.html#index-_002bafter-_0028-x1-x2-stack-_002d_002d-_0029-gforth_002dexperimental) [-stack](https://gforth.org/manual/1.0/User_002ddefined-Stacks.html#index-_002dstack-_0028-x-stack-_002d_002d-_0029-gforth_002dexperimental) [set-stack](https://gforth.org/manual/1.0/User_002ddefined-Stacks.html#index-set_002dstack-_0028-x1-_002e_002e-xn-n-stack-_002d_002d-_0029-gforth_002dexperimental) [get-stack](https://gforth.org/manual/1.0/User_002ddefined-Stacks.html#index-get_002dstack-_0028-stack-_002d_002d-x1-_002e_002e-xn-n-_0029-gforth_002dexperimental)
  • No-ops:[[noop]](https://gforth.org/manual/1.0/Execution-token.html#index-_005bnoop_005d-_0028-_002d_002d-_0029-gforth_002dexperimental) [noop](https://gforth.org/manual/1.0/Execution-token.html#index-noop-_0028-_002d_002d-_0029-gforth_002d0_002e2)

  • 名前トークン:[find-name-in](https://gforth.org/manual/1.0/Name-token.html#index-find_002dname_002din-_0028-c_002daddr-u-wid-_002d_002d-nt-_007c-0-_0029-gforth_002d1_002e0) [latestnt](https://gforth.org/manual/1.0/Name-token.html#index-latestnt-_0028-_002d_002d-nt_007c0-_0029-gforth_002d1_002e0) [xt>name](https://gforth.org/manual/1.0/Name-token.html#index-xt_003ename-_0028-xt-_002d_002d-nt-_0029-gforth_002d1_002e0) [traverse-wordlist](https://gforth.org/manual/1.0/Name-token.html#index-traverse_002dwordlist-_0028-_002e_002e_002e-xt-wid-_002d_002d-_002e_002e_002e-_0029-tools_002dext) [name>interpret](https://gforth.org/manual/1.0/Name-token.html#index-name_003einterpret-_0028-nt-_002d_002d-xt-_0029-tools_002dext) [name>compile](https://gforth.org/manual/1.0/Name-token.html#index-name_003ecompile-_0028-nt-_002d_002d-xt1-xt2-_0029-tools_002dext) [compile-only?](https://gforth.org/manual/1.0/Name-token.html#index-compile_002donly_003f-_0028-nt-_002d_002d-flag-_0029-gforth_002d1_002e0) [obsolete?](https://gforth.org/manual/1.0/Name-token.html#index-obsolete_003f-_0028-nt-_002d_002d-flag-_0029-gforth_002d1_002e0) [name>link](https://gforth.org/manual/1.0/Name-token.html#index-name_003elink-_0028-nt1-_002d_002d-nt2-_002f-0-_0029-gforth_002d1_002e0)

  • リテラルコンパイラ:[lit,](https://gforth.org/manual/1.0/Literals.html#index-lit_002c-_0028-x-_002d_002d-_0029-gforth_002d1_002e0) [aliteral](https://gforth.org/manual/1.0/Literals.html#index-ALiteral-_0028-compilation-addr-_002d_002d-_003b-run_002dtime-_002d_002d-addr-_0029-gforth_002d0_002e2) [2lit,](https://gforth.org/manual/1.0/Literals.html#index-2lit_002c-_0028-x1-x2-_002d_002d-_0029-gforth_002d1_002e0) [flit,](https://gforth.org/manual/1.0/Literals.html#index-flit_002c-_0028-r-_002d_002d-_0029-gforth_002d1_002e0) [slit,](https://gforth.org/manual/1.0/Literals.html#index-slit_002c-_0028-c_002daddr1-u-_002d_002d-_0029-gforth_002d1_002e0)

  • 単語定義とテキストインタープリタステータス:[in-colon-def?](https://gforth.org/manual/1.0/Macros.html#index-in_002dcolon_002ddef_003f-_0028-_002d_002d-flag-_0029-gforth_002dexperimental) [state](https://gforth.org/manual/1.0/Interpret_002fCompile-states.html#index-state-_0028-_002d_002d-a_002daddr-_0029-core_002ctools_002dext)

  • 条件付きおよびループコンパイル:[[DEFINED]](https://gforth.org/manual/1.0/Interpreter-Directives.html#index-_005bdefined_005d-_0028-_0022_003cspaces_003ename_0022-_002d_002d-flag-_0029-tools_002dext) [[UNDEFINED]](https://gforth.org/manual/1.0/Interpreter-Directives.html#index-_005bundefined_005d-_0028-_0022_003cspaces_003ename_0022-_002d_002d-flag-_0029-tools_002dext) [[I]](https://gforth.org/manual/1.0/Interpreter-Directives.html#index-_005bI_005d-_0028-run_002dtime-_002d_002d-n-_0029-gforth_002d0_002e2) [INT-[I]](https://gforth.org/manual/1.0/Interpreter-Directives.html#index-INT_002d_005bI_005d-_0028-_002d_002d-n-_0029-gforth_002d1_002e0)

  • テキストインタープリタフック:[before-line](https://gforth.org/manual/1.0/Text-Interpreter-Hooks.html#index-before_002dline-_0028-_002d_002d-_0029-gforth_002d1_002e0) [before-word](https://gforth.org/manual/1.0/Text-Interpreter-Hooks.html#index-before_002dword-_0028-_002d_002d-_0029-gforth_002d0_002e7) [line-end-hook](https://gforth.org/manual/1.0/Text-Interpreter-Hooks.html#index-line_002dend_002dhook-_0028-_002d_002d-_0029-gforth_002d0_002e7)

  • 入力ストリーム:[string-parse](https://gforth.org/manual/1.0/The-Input-Stream.html#index-string_002dparse-_0028-c_002daddr1-u1-_0022ccc_003cstring_003e_0022-_002d_002d-c_002daddr2-u2-_0029-gforth_002d1_002e0)

  • 単語リスト:[in-wordlist](https://gforth.org/manual/1.0/Word-Lists.html#index-in_002dwordlist-_0028-wordlist-_0022defining_002dword_0022-_002d_002d-_0029-gforth_002dexperimental) [in](https://gforth.org/manual/1.0/Word-Lists.html#index-in-_0028-_0022voc_0022-_0022defining_002dword_0022-_002d_002d-_0029-gforth_002dexperimental) [cs-wordlist](https://gforth.org/manual/1.0/Word-Lists.html#index-cs_002dwordlist-_0028-_002d_002d-wid-_0029-gforth_002d1_002e0) [cs-vocabulary](https://gforth.org/manual/1.0/Word-Lists.html#index-cs_002dvocabulary-_0028-_0022name_0022-_002d_002d-_0029-gforth_002d1_002e0) [.voc](https://gforth.org/manual/1.0/Word-Lists.html#index-_002evoc-_0028-wid-_002d_002d-_0029-gforth_002d0_002e2) [wordlist-words](https://gforth.org/manual/1.0/Word-Lists.html#index-wordlist_002dwords-_0028-wid-_002d_002d-_0029-gforth_002d0_002e6) [mwords](https://gforth.org/manual/1.0/Word-Lists.html#index-mwords-_0028-_005b_0022pattern_0022_005d-_002d_002d-_0029-gforth_002d1_002e0) [map-vocs](https://gforth.org/manual/1.0/Word-Lists.html#index-map_002dvocs-_0028-_002e_002e_002e-xt-_002d_002d-_002e_002e_002e-_0029-gforth_002d1_002e0)

  • 文字列から数値への変換:[>float1](https://gforth.org/manual/1.0/String-to-number-conversion.html#index-_003efloat1-_0028-c_002daddr-u-c-_002d_002d-f_003a_002e_002e_002e-flag-_0029-gforth_002d1_002e0) [holds](https://gforth.org/manual/1.0/Integer-to-string-conversion.html#index-holds-_0028-addr-u-_002d_002d-_0029-core_002dext)

  • 環境クエリ:[max-xchar](https://gforth.org/manual/1.0/Environmental-Queries.html#index-MAX_002dXCHAR-_0028-_002d_002d-xchar-_0029-environment) [xchar-maxmem](https://gforth.org/manual/1.0/Environmental-Queries.html#index-XCHAR_002dMAXMEM-_0028-_002d_002d-u-_0029-environment) [os-type](https://gforth.org/manual/1.0/Environmental-Queries.html#index-os_002dtype-_0028-_002d_002d-c_002daddr-u-_0029-gforth_002denvironment)

  • ファイルインクルード:[\ ](https://gforth.org/manual/1.0/Forth-source-files.html#index-_005c_005c_005c-_0028-_002d_002d-_0029-gforth_002d1_002e0) [.included](https://gforth.org/manual/1.0/Forth-source-files.html#index-_002eincluded-_0028-_002d_002d-_0029-gforth_002d0_002e5)

  • 一般的なファイル処理:[+fmode](https://gforth.org/manual/1.0/General-files.html#index-_002bfmode-_0028-fam1-rwxrwxrwx-_002d_002d-fam2-_0029-gforth_002d1_002e0) [file-eof?](https://gforth.org/manual/1.0/General-files.html#index-file_002deof_003f-_0028-wfileid-_002d_002d-flag-_0029-gforth_002d0_002e6)

  • リダイレクション:[outfile-id](https://gforth.org/manual/1.0/Redirection.html#index-outfile_002did-_0028-_002d_002d-file_002did-_0029-gforth_002d0_002e2) [infile-id](https://gforth.org/manual/1.0/Redirection.html#index-infile_002did-_0028-_002d_002d-file_002did-_0029-gforth_002d0_002e4)

  • ディレクトリ:[basename](https://gforth.org/manual/1.0/Directories.html#index-basename-_0028-c_002daddr1-u1-_002d_002d-c_002daddr2-u2-_0029-gforth_002d0_002e7) [dirname](https://gforth.org/manual/1.0/Directories.html#index-dirname-_0028-c_002daddr1-u1-_002d_002d-c_002daddr1-u2-_0029-gforth_002d0_002e7) [open-dir](https://gforth.org/manual/1.0/Directories.html#index-open_002ddir-_0028-c_002daddr-u-_002d_002d-wdirid-wior-_0029-gforth_002d0_002e5) [read-dir](https://gforth.org/manual/1.0/Directories.html#index-read_002ddir-_0028-c_002daddr-u1-wdirid-_002d_002d-u2-flag-wior-_0029-gforth_002d0_002e5) [close-dir](https://gforth.org/manual/1.0/Directories.html#index-close_002ddir-_0028-wdirid-_002d_002d-wior-_0029-gforth_002d0_002e5) [filename-match](https://gforth.org/manual/1.0/Directories.html#index-filename_002dmatch-_0028-c_002daddr1-u1-c_002daddr2-u2-_002d_002d-flag-_0029-gforth_002d0_002e5) [get-dir](https://gforth.org/manual/1.0/Directories.html#index-get_002ddir-_0028-c_002daddr1-u1-_002d_002d-c_002daddr2-u2-_0029-gforth_002d0_002e7) [set-dir](https://gforth.org/manual/1.0/Directories.html#index-set_002ddir-_0028-c_002daddr-u-_002d_002d-wior-_0029-gforth_002d0_002e7) =mkdir](https://gforth.org/manual/1.0/Directories.html#index-_003dmkdir-_0028-c_002daddr-u-wmode-_002d_002d-wior-_0029-gforth_002d0_002e7) [mkdir-parents](https://gforth.org/manual/1.0/Directories.html#index-mkdir_002dparents-_0028-c_002daddr-u-mode-_002d_002d-ior-_0029-gforth_002d0_002e7)

  • 検索パス:[absolute-file?](https://gforth.org/manual/1.0/Search-Paths.html#index-absolute_002dfile_003f-_0028-addr-u-_002d_002d-flag-_0029-gforth_002d1_002e0) [.fpath](https://gforth.org/manual/1.0/Source-Search-Paths.html#index-_002efpath-_0028-_002d_002d-_0029-gforth_002d0_002e4) [file>fpath](https://gforth.org/manual/1.0/Source-Search-Paths.html#index-file_003efpath-_0028-addr1-u1-_002d_002d-addr2-u2-_0029-gforth_002d1_002e0) [file>path](https://gforth.org/manual/1.0/General-Search-Paths.html#index-file_003epath-_0028-c_002daddr1-u1-path_002daddr-_002d_002d-c_002daddr2-u2-_0029-gforth_002d1_002e0)

  • 単純な数値出力:[h.](https://gforth.org/manual/1.0/Simple-numeric-output.html#index-h_002e-_0028-u-_002d_002d-_0029-gforth_002d1_002e0) [dec.r](https://gforth.org/manual/1.0/Simple-numeric-output.html#index-dec_002er-_0028-u-n-_002d_002d-_0029-gforth_002d0_002e5)

  • 浮動小数点数出力:[fp.](https://gforth.org/manual/1.0/Floating_002dpoint-output.html#index-fp_002e-_0028-r-_002d_002d-_0029-floating_002dext) [e.](https://gforth.org/manual/1.0/Floating_002dpoint-output.html#index-e_002e-_0028-f_003a-r-_002d_002d-_0029-gforth_002d1_002e0) [e.p](https://gforth.org/manual/1.0/Floating_002dpoint-output.html#index-e_002ep-_0028-r-u-_002d_002d-_0029-gforth_002dexperimental) [e.exact](https://gforth.org/manual/1.0/Floating_002dpoint-output.html#index-e_002eexact-_0028-r-_002d_002d-_0029-gforth_002dexperimental)

  • ターミナル出力、特に色:[at-deltaxy](https://gforth.org/manual/1.0/Terminal-output.html#index-at_002ddeltaxy-_0028-dx-dy-_002d_002d-_0029-gforth_002d0_002e7) [default-color](https://gforth.org/manual/1.0/Color-output.html#index-default_002dcolor-_0028-_002d_002d-_0029-gforth_002d1_002e0) [error-color](https://gforth.org/manual/1.0/Color-output.html#index-error_002dcolor-_0028-_002d_002d-_0029-gforth_002d1_002e0) [error-hl-inv](https://gforth.org/manual/1.0/Color-output.html#index-error_002dhl_002dinv-_0028-_002d_002d-_0029-gforth_002d1_002e0) [error-hl-ul](https://gforth.org/manual/1.0/Color-output.html#index-error_002dhl_002dul-_0028-_002d_002d-_0029-gforth_002d1_002e0) [warning-color](https://gforth.org/manual/1.0/Color-output.html#index-warning_002dcolor-_0028-_002d_002d-_0029-gforth_002d1_002e0) [info-color](https://gforth.org/manual/1.0/Color-output.html#index-info_002dcolor-_0028-_002d_002d-_0029-gforth_002d1_002e0) [success-color](https://gforth.org/manual/1.0/Color-output.html#index-success_002dcolor-_0028-_002d_002d-_0029-gforth_002d1_002e0) [input-color](https://gforth.org/manual/1.0/Color-output.html#index-input_002dcolor-_0028-_002d_002d-_0029-gforth_002d1_002e0) [status-color](https://gforth.org/manual/1.0/Color-output.html#index-status_002dcolor-_0028-_002d_002d-_0029-gforth_002d1_002e0) [compile-color](https://gforth.org/manual/1.0/Color-output.html#index-compile_002dcolor-_0028-_002d_002d-_0029-gforth_002d1_002e0) [postpone-color](https://gforth.org/manual/1.0/Color-output.html#index-postpone_002dcolor-_0028-_002d_002d-_0029-gforth_002d1_002e0) [light-mode](https://gforth.org/manual/1.0/Color-themes.html#index-light_002dmode-_0028-_002d_002d-_0029-gforth_002d1_002e0) [dark-mode](https://gforth.org/manual/1.0/Color-themes.html#index-dark_002dmode-_0028-_002d_002d-_0029-gforth_002d1_002e0) [uncolored-mode](https://gforth.org/manual/1.0/Color-themes.html#index-uncolored_002dmode-_0028-_002d_002d-_0029-gforth_002d1_002e0) [magenta-input](https://gforth.org/manual/1.0/Color-themes.html#index-magenta_002dinput-_0028-_002d_002d-_0029-gforth_002d1_002e0) [default-input](https://gforth.org/manual/1.0/Color-themes.html#index-default_002dinput-_0028-_002d_002d-_0029-gforth_002d1_002e0)

  • 単一キー入力:[key-ior](https://gforth.org/manual/1.0/Single_002dkey-input.html#index-key_002dior-_0028-_002d_002d-c_007cior-_0029-gforth_002d1_002e0) [xkey?](https://gforth.org/manual/1.0/Single_002dkey-input.html#index-xkey_003f-_0028-_002d_002d-flag-_0029-xchar) [ekey>xchar](https://gforth.org/manual/1.0/Single_002dkey-input.html#index-ekey_003exchar-_0028-u-_002d_002d-u-false-_007c-xc-true-_0029-xchar_002dext) [k-enter](https://gforth.org/manual/1.0/Single_002dkey-input.html#index-k_002denter-_0028-_002d_002d-u-_0029-gforth_002d1_002e0) [k-backspace](https://gforth.org/manual/1.0/Single_002dkey-input.html#index-k_002dbackspace-_0028-_002d_002d-u-_0029-gforth_002d1_002e0) [k-tab](https://gforth.org/manual/1.0/Single_002dkey-input.html#index-k_002dtab-_0028-_002d_002d-u-_0029-gforth_002d1_002e0) [k-winch](https://gforth.org/manual/1.0/Single_002dkey-input.html#index-k_002dwinch-_0028-_002d_002d-u-_0029-gforth_002d1_002e0) [k-pause](https://gforth.org/manual/1.0/Single_002dkey-input.html#index-k_002dpause-_0028-_002d_002d-u-_0029-gforth_002d1_002e0) [k-mute](https://gforth.org/manual/1.0/Single_002dkey-input.html#index-k_002dmute-_0028-_002d_002d-u-_0029-gforth_002d1_002e0) [k-volup](https://gforth.org/manual/1.0/Single_002dkey-input.html#index-k_002dvolup-_0028-_002d_002d-u-_0029-gforth_002d1_002e0) [k-voldown](https://gforth.org/manual/1.0/Single_002dkey-input.html#index-k_002dvoldown-_0028-_002d_002d-u-_0029-gforth_002d1_002e0) [k-sel](https://gforth.org/manual/1.0/Single_002dkey-input.html#index-k_002dsel-_0028-_002d_002d-u-_0029-gforth_002d1_002e0) [k-eof](https://gforth.org/manual/1.0/Single_002dkey-input.html#index-k_002deof-_0028-_002d_002d-u-_0029-gforth_002d1_002e0) [fkey.](https://gforth.org/manual/1.0/Single_002dkey-input.html#index-fkey_002e-_0028-u-_002d_002d-_0029-gforth_002d1_002e0) [simple-fkey-string](https://gforth.org/manual/1.0/Single_002dkey-input.html#index-simple_002dfkey_002dstring-_0028-u1-_002d_002d-c_002daddr-u-_0029-gforth_002d1_002e0)

  • CSV入力:[read-csv](https://gforth.org/manual/1.0/CSV-reading-and-writing.html#index-read_002dcsv-_0028-c_002daddr-u-xt-_002d_002d-_0029-gforth_002dexperimental) [csv-separator](https://gforth.org/manual/1.0/CSV-reading-and-writing.html#index-csv_002dseparator-_0028-_002d_002d-c-_0029-gforth_002dexperimental) [csv-quote](https://gforth.org/manual/1.0/CSV-reading-and-writing.html#index-csv_002dquote-_0028-_002d_002d-c-_0029-gforth_002dexperimental) [.quoted-csv](https://gforth.org/manual/1.0/CSV-reading-and-writing.html#index-_002equoted_002dcsv-_0028-c_002daddr-u-_002d_002d-_0029-gforth_002dexperimental)

  • ローカル変数:[{:](https://gforth.org/manual/1.0/Locals-definition-words.html#index-_007b_003a-_0028-_002d_002d-hmaddr-u-wid-state-0-_0029-local_002dext) [|](https://gforth.org/manual/1.0/Locals-definition-words.html#index-_007c-_0028-_002d_002d-_0029-local_002dext) [:}](https://gforth.org/manual/1.0/Locals-definition-words.html#index-_003a_007d-_0028-hmaddr-u-wid-0-xt1-_002e_002e_002e-xtn-_002d_002d-_0029-gforth_002d1_002e0) [z:](https://gforth.org/manual/1.0/Locals-definition-words.html#index-Z_003a-_0028-compilation-_0022name_0022-_002d_002d-a_002daddr-xt_003b-run_002dtime-r1-r2-_002d_002d-_0029-gforth_002d1_002e0) [z^](https://gforth.org/manual/1.0/Locals-definition-words.html#index-Z_005e-_0028-compilation-_0022name_0022-_002d_002d-a_002daddr-xt_003b-run_002dtime-r1-r2-_002d_002d-_0029-gforth_002d1_002e0) [xt:](https://gforth.org/manual/1.0/Locals-definition-words.html#index-XT_003a-_0028-compilation-_0022name_0022-_002d_002d-a_002daddr-xt_003b-run_002dtime-xt1-_002d_002d-_0029-gforth_002d1_002e0) [@localn](https://gforth.org/manual/1.0/Locals-implementation.html#index-_0040localn-_0028-noffset-_002d_002d-w-_0029-gforth_002dinternal) [f@localn](https://gforth.org/manual/1.0/Locals-implementation.html#index-f_0040localn-_0028-noffset-_002d_002d-r-_0029-gforth_002dinternal) [!localn](https://gforth.org/manual/1.0/Locals-implementation.html#index-_0021localn-_0028-w-noffset-_002d_002d-_0029-gforth_002dinternal) [lp+n](https://gforth.org/manual/1.0/Locals-implementation.html#index-lp_002bn-_0028-noffset-_002d_002d-c_002daddr-_0029-gforth_002dinternal) [lp+!](https://gforth.org/manual/1.0/Locals-implementation.html#index-lp_002b_0021-_0028-noffset-_002d_002d-_0029-gforth_002dinternal)

  • Mini-OOF2(Mini-OOFより少し大きいですが、他よりはるかに小さいです。Gforth固有):[>o](https://gforth.org/manual/1.0/Mini_002dOOF2.html#index-_003eo-_0028-c_002daddr-_002d_002d-r_003ac_002dold-_0029-new) [o>](https://gforth.org/manual/1.0/Mini_002dOOF2.html#index-o_003e-_0028-r_003ac_002daddr-_002d_002d-_0029-new) [rec-moof2](https://gforth.org/manual/1.0/Mini_002dOOF2.html#index-rec_002dmoof2-_0028-c_002daddr-u-_002d_002d-nt-translate_002dmoof2-_007c-translate_002dnone-_0029-mini_002doof2) :method](https://gforth.org/manual/1.0/Mini_002dOOF2.html#index-_003amethod-_0028-class-_0022name_0022-_002d_002d-_0029-gforth_002dexperimental)

  • 正規表現: ``(( [))](https://gforth.org/manual/1.0/Regular-Expressions.html#index-_0029_0029-_0028-_002d_002d-flag-_0029-regexp_002dpattern) charclass +char -char ..char +chars +class c? -c? [](https://gforth.org/manual/1.0/Regular-Expressions.html#index-_005cd-_0028-addr-_002d_002d-addr_0027-_0029-regexp_002dpattern) [](https://gforth.org/manual/1.0/Regular-Expressions.html#index-_005cs-_0028-addr-_002d_002d-addr_0027-_0029-regexp_002dpattern) .? [-](https://gforth.org/manual/1.0/Regular-Expressions.html#index-_002d_005cd-_0028-addr-_002d_002d-addr_0027-_0029-regexp_002dpattern) [-](https://gforth.org/manual/1.0/Regular-Expressions.html#index-_002d_005cs-_0028-addr-_002d_002d-addr_0027-_0029-regexp_002dpattern) [](https://gforth.org/manual/1.0/Regular-Expressions.html#index-_005c_005e-_0028-addr-_002d_002d-addr-_0029-regexp_002dpattern) [](https://gforth.org/manual/1.0/Regular-Expressions.html#index-_005c_0024-_0028-addr-_002d_002d-addr-_0029-regexp_002dpattern) str=? = {** [**}](https://gforth.org/manual/1.0/Regular-Expressions.html#index-_002a_002a_007d-_0028-sys-_002d_002d-_0029-regexp_002dpattern) {++ [++}](https://gforth.org/manual/1.0/Regular-Expressions.html#index-_002b_002b_007d-_0028-sys-_002d_002d-_0029-regexp_002dpattern) {* [*}](https://gforth.org/manual/1.0/Regular-Expressions.html#index-_002a_007d-_0028-addr-addr_0027-_002d_002d-addr_0027-_0029-regexp_002dpattern) {+ [+}](https://gforth.org/manual/1.0/Regular-Expressions.html#index-_002b_007d-_0028-addr-addr_0027-_002d_002d-addr_0027-_0029-regexp_002dpattern) // [{{](https://gforth.org/manual/1.0/Regular-Expressions.html#index-_007b_007b-_0028-addr-_002d_002d-addr-addr-_0029-regexp_002dpattern) || [}}](https://gforth.org/manual/1.0/Regular-Expressions.html#index-_007d_007d-_0028-addr-addr-_002d_002d-addr-_0029-regexp_002dpattern) ( [\)](https://gforth.org/manual/1.0/Regular-Expressions.html#index-_005c_0029-_0028-addr-_002d_002d-addr-_0029-regexp_002dpattern) [](https://gforth.org/manual/1.0/Regular-Expressions.html#index-_005c0-_0028-_002d_002d-addr-u-_0029-regexp_002dpattern) s>> >> << s// //s //o //g FORK JOIN [](https://gforth.org/manual/1.0/Regular-Expressions.html#index-_0060-_0028-_0022char_0022-_002d_002d-_0029-regexp_002dpattern) ? [-]](https://gforth.org/manual/1.0/Regular-Expressions.html#index-_002d_0060-_0028-_0022char_0022-_002d_002d-_0029-regexp_002dpattern)`

  • コンパイル済みコードの検査:[xt-simple-see](https://gforth.org/manual/1.0/Examining-compiled-code.html#index-xt_002dsimple_002dsee-_0028-xt-_002d_002d-_0029-gforth_002d1_002e0) [xt-see-code](https://gforth.org/manual/1.0/Examining-compiled-code.html#index-xt_002dsee_002dcode-_0028-xt-_002d_002d-_0029-gforth_002d1_002e0)

  • デバッグ単語:[debug-fid](https://gforth.org/manual/1.0/Debugging.html#index-debug_002dfid-_0028-_002d_002d-file_002did-_0029-gforth_002d1_002e0) [once](https://gforth.org/manual/1.0/Debugging.html#index-once-_0028-_002d_002d-_0029-gforth_002d1_002e0) [~~bt](https://gforth.org/manual/1.0/Debugging.html#index-_007e_007ebt-_0028-_002d_002d-_0029-gforth_002d1_002e0) [~~1bt](https://gforth.org/manual/1.0/Debugging.html#index-_007e_007e1bt-_0028-_002d_002d-_0029-gforth_002d1_002e0) [???](https://gforth.org/manual/1.0/Debugging.html#index-_003f_003f_003f-_0028-_002d_002d-_0029-gforth_002d0_002e2) [WTF??](https://gforth.org/manual/1.0/Debugging.html#index-WTF_003f_003f-_0028-_002d_002d-_0029-gforth_002d1_002e0) [!!FiXME!!](https://gforth.org/manual/1.0/Debugging.html#index-_0021_0021FIXME_0021_0021-_0028-_002d_002d-_0029-gforth_002d1_002e0) [replace-word](https://gforth.org/manual/1.0/Debugging.html#index-replace_002dword-_0028-xt1-xt2-_002d_002d-_0029-gforth_002d1_002e0) [~~Variable](https://gforth.org/manual/1.0/Debugging.html#index-_007e_007eVariable-_0028-_0022name_0022-_002d_002d-_0029-gforth_002d1_002e0) [~~Value](https://gforth.org/manual/1.0/Debugging.html#index-_007e_007eValue-_0028-n-_0022name_0022-_002d_002d-_0029-gforth_002d1_002e0) [+ltrace](https://gforth.org/manual/1.0/Debugging.html#index-_002bltrace-_0028-_002d_002d-_0029-gforth_002d1_002e0) [-ltrace](https://gforth.org/manual/1.0/Debugging.html#index-_002dltrace-_0028-_002d_002d-_0029-gforth_002d1_002e0) [#loc](https://gforth.org/manual/1.0/Debugging.html#index-_0023loc-_0028-nline-nchar-_0022file_0022-_002d_002d-_0029-gforth_002d1_002e0)

  • コードカバレッジと実行頻度:[.coverage](https://gforth.org/manual/1.0/Code-Coverage.html#index-_002ecoverage-_0028-_002d_002d-_0029-gforth_002dexperimental) [annotate-cov](https://gforth.org/manual/1.0/Code-Coverage.html#index-annotate_002dcov-_0028-_002d_002d-_0029-gforth_002dexperimental) [bw-cover](https://gforth.org/manual/1.0/Code-Coverage.html#index-bw_002dcover-_0028-_002d_002d-_0029-gforth_002d1_002e0) [color-cover](https://gforth.org/manual/1.0/Code-Coverage.html#index-color_002dcover-_0028-_002d_002d-_0029-gforth_002d1_002e0) [save-cov](https://gforth.org/manual/1.0/Code-Coverage.html#index-save_002dcov-_0028-_002d_002d-_0029-gforth_002dexperimental) [load-cov](https://gforth.org/manual/1.0/Code-Coverage.html#index-load_002dcov-_0028-_002d_002d-_0029-gforth_002dexperimental) [nocov[](https://gforth.org/manual/1.0/Code-Coverage.html#index-nocov_005b-_0028-_002d_002d-_0029-gforth_002d1_002e0) []nocov](https://gforth.org/manual/1.0/Code-Coverage.html#index-_005dnocov-_0028-_002d_002d-_0029-gforth_002d1_002e0) [cov+](https://gforth.org/manual/1.0/Code-Coverage.html#index-cov_002b-_0028-_002d_002d-_0029-gforth_002dexperimental) [?cov+](https://gforth.org/manual/1.0/Code-Coverage.html#index-_003fcov_002b-_0028-flag-_002d_002d-flag-_0029-gforth_002dexperimental) [cov%](https://gforth.org/manual/1.0/Code-Coverage.html#index-cov_0025-_0028-_002d_002d-_0029-gforth_002dexperimental) [.cover-raw](https://gforth.org/manual/1.0/Code-Coverage.html#index-_002ecover_002draw-_0028-_002d_002d-_0029-gforth_002dexperimental)

  • アセンブリ言語での定義:[abi-code](https://gforth.org/manual/1.0/Assembler-Definitions.html#index-abi_002dcode-_0028-_0022name_0022-_002d_002d-colon_002dsys-_0029-gforth_002d1_002e0) [;abi-code](https://gforth.org/manual/1.0/Assembler-Definitions.html#index-_003babi_002dcode-_0028-_002d_002d-_0029-gforth_002d1_002e0)

  • ディスアセンブラ:[disasm2](https://gforth.org/manual/1.0/Common-Disassembler.html#index-disasm2-_0028-c_002daddr-u-_002d_002d-_0029-gforth_002d1_002e0) [intel-syntax](https://gforth.org/manual/1.0/Common-Disassembler.html#index-intel_002dsyntax-_0028-_002d_002d-_0029-gforth_002d1_002e0) [at&t-syntax](https://gforth.org/manual/1.0/Common-Disassembler.html#index-at_0026t_002dsyntax-_0028-_002d_002d-_0029-gforth_002d1_002e0) [disasm](https://gforth.org/manual/1.0/Common-Disassembler.html#index-disasm-_0028-c_002daddr-u-_002d_002d-_0029-gforth_002d0_002e5) [disasm-gdb](https://gforth.org/manual/1.0/Common-Disassembler.html#index-disasm_002dgdb-_0028-addr-u-_002d_002d-_0029-gforth_002d0_002e7)

  • 時間の追跡:[ns](https://gforth.org/manual/1.0/Keeping-track-of-Time.html#index-ns-_0028-ud-_002d_002d-_0029-gforth_002d1_002e0) [>time&date&tz](https://gforth.org/manual/1.0/Keeping-track-of-Time.html#index-_003etime_0026date_0026tz-_0028-dtime-_002d_002d-nsec-nmin-nhour-nday-nmonth-nyear-fdst-ndstoff-c_002daddrtz-utz-_0029-gforth_002d1_002e0) [ntime](https://gforth.org/manual/1.0/Keeping-track-of-Time.html#index-ntime-_0028-_002d_002d-dtime-_0029-gforth_002d1_002e0)

  • イメージの保存と起動:['image](https://gforth.org/manual/1.0/gforthmi.html#index-_0027image-_0028-_002d_002d-_0029-gforth_002dexperimental) [process-option](https://gforth.org/manual/1.0/Modifying-the-Startup-Sequence.html#index-process_002doption-_0028-addr-u-_002d_002d-_002e_002e_002e-xt-_007c-0-_0029-gforth_002d0_002e7)

  • MINOS2:actor widget caller-w active-w act-name$ clicked scrolled touchdown touchup ukeyed ekeyed ?inside focus defocus entered left show hide get set show-you parent-w act name$ x y w h d gap baseline kerning raise border borderv bordert borderl w-color draw-init draw split lastfit hglue dglue vglue hglue@ dglue@ vglue@ xywh xywhd !resize !size dispose-widget .widget par-split resized >animate color: new-color: text-color: text-emoji-color: fade-color: text-emoji-fade-color: re-color re-text-color re-emoji-color re-fade-color re-text-emoji-fade-color vp-top vp-bottom vp-left vp-right vp-reslide vp-needed

  • その他の単語:[f.s-precision](https://gforth.org/manual/1.0/Examining-data.html#index-f_002es_002dprecision-_0028-_002d_002d-u-_0029-gforth_002d1_002e0) [fclearstack](https://gforth.org/manual/1.0/Examining-data.html#index-fclearstack-_0028-r0-_002e_002e-rn-_002d_002d-_0029-gforth_002d1_002e0) [sh-get](https://gforth.org/manual/1.0/Passing-Commands-to-the-OS.html#index-sh_002dget-_0028-c_002daddr-u-_002d_002d-c_002daddr2-u2-_0029-gforth_002d1_002e0) [synonym](https://gforth.org/manual/1.0/Synonyms.html#index-Synonym-_0028-_0022name_0022-_0022oldname_0022-_002d_002d-_0029-tools_002dext) [out](https://gforth.org/manual/1.0/Miscellaneous-output.html#index-out-_0028-_002d_002d-addr-_0029-gforth_002d1_002e0)

Gforth EC 非ニュース

Gforth 0.7 以降、Gforth EC の作業は行われていません。Gforth EC には Gforth 0.7 の使用を推奨しますが、git head での Gforth EC に関するバグまたは成功報告は歓迎します。

Gforth 0.6.2 と 0.7.0 の間のユーザー向け変更点:

要件:
  実行時に libtool と gcc(libcc Cインターフェース用)および
  gdb(一部のプラットフォームでのディスアセンブラ(SEE)用)が必要。
インストール:
  DESTDIR、POST_INSTALL、INSTALL_SCRIPT のサポート
  ビルド時の自動パフォーマンスチューニング(--enable-force-reg は不要)
  "make" の終了時にパフォーマンスおよび機能の問題を報告
  autogen.sh が存在するように
ライセンス:
  GPLv3 に変更
バグ修正
  アドレス空間ランダム化で動作するようになりました。
  一部のエンジンでシングルステップデバッガが再び動作します。
  その他多数。
ポート:
  AMD64、ARM、IA-64(Itanium):パフォーマンス向上
  PPC、PPC64:ディスアセンブラとアセンブラ
  Gforth EC:R8C、4stack、misc、8086 対応
  MacOS X:サポート向上
呼び出し:
  新しいフラグ --ignore-async-signals、--vm-commit(デフォルトはオーバーコミット)
            --print-sequences
Forth 200x:
  X:extension-query: 実装されているすべての拡張機能に対して true を生成
  X:required REQUIRED など(新規ではない)
  X:defined: [DEFINED] および [UNDEFINED]
  X:parse-name: PARSE-NAME(新しい名前)
  X:deferred: 遅延単語(新規:DEFER@ DEFER! ACTION-OF)
  X:structures: +FIELD FIELD: FFIELD: CFIELD: など。
  X:ekeys: 新規:EKEY>FKEY K-SHIFT-MASK K-CTRL-MASK K-ALT-MASK K-F1...K-F12
  X:fp-stack(新規ではない)
  X:number-prefixes(一部新規、以下参照)
数値プレフィックス:
  0x は 16 進数プレフィックス:0xff および 0XfF は(10 進数)255 を生成します。
  # は 10 進数プレフィックス:#10 は(10 進数)10 を生成します。
  数値プレフィックス後の符号も受け入れられます。例:#-50。
  ' は単一の(x)char のみを扱います:'ab はもはや受け入れられません。
                                       'a' は(10 進数)97 を生成します。
Unicode サポート(現在はユニコードエンコーディングのみサポート):
  可変幅マルチバイト文字を扱うための xchars 単語を追加しました。
  xchars 用に 8 ビット(ISO Latin 1)および UTF-8 サポートを提供します。
新しい単語:
  \C C-FUNCTION C-LIBRARY END-C-LIBRARY C-LIBRARY-NAME(libcc Cインターフェース)
  LIB-ERROR(OPEN-LIB を補完)
  OUTFILE-EXECUTE INFILE-EXECUTE BASE-EXECUTE(グローバル状態の限定的な変更)
  16 ビットおよび 32 ビットメモリアクセス:UW@ UL@ SW@ SL@ W! L! W@ L@ /W /L
  NEXT-ARG SHIFT-ARGS(OS コマンドライン引数処理)
  NOTHROW(バックトレース制御用)
  FTRUNC FMOD(ドキュメント化されていない)
  SEE-CODE SEE-CODE-RANGE(生成された動的ネイティブコードを表示)
既存単語の改善/変更点:
  S", ." は 
、
m、
z をサポートし、16 進数および 8 進数文字指定を制限します。
  W/O を指定した OPEN-FILE は、ファイルを作成または切り捨てることはなくなりました(互換性のないファイル)。
  OPEN-LIB は、OPEN-FILE のように、先頭の ~ を理解するようになりました。
  TRY...ENDTRY は大幅に変更されました。互換性ファイルが利用可能です(ドキュメント参照)。
  ディスアセンブラ(DISCODE)は gdb を使用してコードをディスアセンブルできるようになりました。
  初期化されていない遅延単語は、実行時に警告を生成するようになりました。
  除算は切り捨てられます("configure --enable-force-cdiv" で無効化可能)。
  Gforth(gforth-fast ではない)は、すべてのプラットフォームでゼロ除算と除算のオーバーフローを報告します。

新しくドキュメント化された単語:
  S>NUMBER? S>UNUMBER?
  EKEY キープレス名:K-LEFT K-RIGHT K-UP K-DOWN K-HOME K-END K-PRIOR
    K-NEXT K-INSERT K-DELETE
  CLEARSTACKS
  FORM
環境変数 GFORTHSYSTEMPREFIX(SYSTEM および関連単語で使用)
Cインターフェース:
  エクスポートされたシンボルは "gforth_" で始まります(Cコードからの参照用)。
  libcc C関数呼び出しインターフェース(実行時に libtool と gcc が必要)
    代替:ドキュメント化されていない libffi ベースのインターフェース
ライブラリ:
  depth-changes.fs:解釈中のスタック深度変更を報告します。
  ans-report.fs は CfV 拡張機能を報告します。
  fsl-util.4th:FSL サポートファイル(ドキュメント化されていない)。
  regexp.fs 正規表現用(ドキュメント化されていない)。
  complex.fs 複素数用(ドキュメント化されていない)。
  fft.fs 高速フーリエ変換用(ドキュメント化されていない)。
  wf.fs、Wiki 実装(ドキュメント化されていない)。
  httpd.fs、Web サーバー(ドキュメント化されていない)。
  status.fs、別の xterm でインタープリタステータスを表示(ドキュメント化されていない)。
  profile.fs プロファイリング用(ドキュメント化されていない、不完全)。
  endtry-iferror.fs、recover-endtry.fs TRY 変更の移行を容易にするため。
  test/tester.fs:FP 数値で動作する tester.fs のバージョン(ドキュメント化されていない)。
  test/ttester.fs:改良されたインターフェース(T{...}T)を持つ tester.fs のバージョン。
 compat ライブラリ:
  compat/execute-parsing.fs
速度改善:
  ビルド時の自動パフォーマンスチューニング
  静的スタックキャッシング(PPC での速度向上)
  混合精度除算が高速化されました。
  AMD64 での int128 型のサポート
  gcc パフォーマンスバグの回避策(特に PR 15242)
  分岐ターゲットアライメント(Alpha での速度向上)。

Gforth 0.6.1 と 0.6.2 の間のユーザー向け変更点:

バグ修正(特に、gforth-0.6.2 は gcc-3.3 でコンパイルされます)
新しい単語:LATEST、LATESTXT(LASTXT は非推奨)
オペレーティング環境:Cインターフェースのオプションサポートを追加しました。
  ffcall ライブラリに基づいています(古いものよりポータブルで強力ですが、まだドキュメント化されていません)。
  それを使用するには、Gforth をビルドする前に ffcall ライブラリをインストールする必要があります(INSTALL を参照)。
その他:Gforth-fast は静的スーパーインストラクションを使用するようになりました(一部のプラットフォームで速度向上)。
  一般的にこれは透過的です(速度向上以外)、しかし静的スーパーインストラクション生成を制御するための多くのコマンドラインオプションがあります。

Gforth 0.6.0 と 0.6.1 の間のユーザー向け変更点:

バグ修正(ビッグエンディアンマシンでのインストールが時々機能しなかった)

Gforth 0.5.0 と 0.6.0 の間のユーザー向け変更点:

動作の変更:

S" の解釈的な使用は文字列を ALLOCATE するようになりました(BYE まで存続します)。
長い単語名(32 ビットシステムでは 512MB)がサポートされるようになりました(ヘッダー形式への変更)。
新しいスレッドコード実行方法:プリミティブ中心(以下を可能にします)、ハイブリッド直接/間接スレッド(移植が容易)、動的スーパーインストラクション付き(Athlon での典型的な速度向上:係数 2)。
潜在的な後方互換性の問題に対処するための新しいエンジン gforth-itc(マニュアルの「直接または間接スレッド?」を参照)。

オペレーティング環境:

デフォルトの辞書サイズは 4MB になりました。
大きなファイルサポート(OS がサポートしている場合、つまり 32 ビットマシンでは 2GB を超えるファイル)。
Gforth はほとんどの状況で壊れたパイプをうまく処理できるようになりました。
vi タグファイルは tags.fs でビルドできます(etags.fs と同様の使用法)。
gforth.el はほとんど書き直されました。
新しいイメージファイル形式。

新しい単語:

キーボード入力:EDIT-LINE K-PRIOR K-NEXT K-DELETE
ファイル入力:SLURP-FILE SLURP-FID 
プログラミングツール:ID. .ID WORDLIST-WORDS SIMPLE-SEE
条件付き実行:[DEFINED] [UNDEFINED]
定義単語:CONST-DOES> ]]
入力ストリーム:PARSE-WORD EXECUTE-PARSING EXECUTE-PARSING-FILE
文字列比較:STR= STR< STRING-PREFIX?
文字列リテラル:S" ." "-PARSE
浮動小数点数出力:F.RDP F>STR-RDP F>BUF-RDP

その他:

prims2x.fs を Vmgen に一般化しました(README.vmgen などを参照)。新しい機能を使用しました(例:リターンスタックと命令ストリームの自動処理)。

Gforth 0.4.0 と 0.5.0 の間のユーザー向け変更点:

動作の変更:

2つのエンジンがあります:高速エンジン(gforth-fast)は、以前のリリースと同じくらい高速です。デバッグエンジン(gforth)は、シグナル(例:不正なメモリアクセス)に対して正確なバックトレースをサポートしますが、1〜2倍遅くなります。
ブロックファイルはデフォルトでブロック0から始まります(ブロック1の代わりに)。
周囲にブロックファイルがある場合は、変換するために 1024 バイトを先頭に追加するか、"1 OFFSET !" を実行して古い動作を設定してください。
Gforth は読み取り時に改行を LF に変換しなくなりました。代わりに、READ-LINE は LF、CR、CRLF を改行として解釈します。出力時の改行は OS の好みの形式です。
SEE はプリミティブをディスアセンブルする(またはディスアセンブラがない場合はコードを 16 進ダンプする)ようになりました。
>HEAD(別名 >NAME)は、失敗時に 0 を返します(??? の nt の代わりに)。
prim の構文が変更されました:スタック効果は括弧で囲まれ、タブは重要でなくなりました。

オペレーティング環境:

Gforth は例外をキャッチしたときにバックトレースを生成するようになりました。
Unix 98 SA_SIGINFO セマンティクスをサポートするプラットフォームでは、SIGSEGV および SIGFPE に対してより正確なエラーレポートが得られます(例:「不正なメモリアドレス」ではなく「スタックアンダーフロー」)。
バッチ処理でエラー(つまり、キャッチされない THROW)が発生した場合、Gforth は終了コード 1 を生成します。
"gforthmi --application ..." を使用して、呼び出し時にコマンドライン全体を処理するイメージをビルドできます(gforth -i を介するのではなく)。

ポート:

AIX。
PowerPC の 604e で 20% の速度向上、
Celeron と gcc-2.95 で 19%-29% の速度向上。

新しい単語:

欠落している ANS Forth 単語:EKEY EKEY? EKEY>CHAR
タイミング単語:CPUTIME UTIME
ベクトル演算:V* FAXPY
FP 比較:F~ABS F~REL
遅延単語:<IS> [IS]
ネストされた数値出力:<<# #>>
例外処理:TRY RECOVER ENDTRY
ディレクトリ処理:OPEN-DIR READ-DIR CLOSE-DIR FILENAME-MATCH
その他:]L PUSH-ORDER

その他:

マニュアルの大幅な拡張(導入部などを追加)、その多くは新しいチームメンバーである Neal Crook によるものです。
386、Alpha、MIPS 用のアセンブラとディスアセンブラを追加しました(Andrew McKewan、Bernd Thallner、Christian Pirker の貢献による)。他のアーキテクチャ用のアセンブラとディスアセンブラの貢献を歓迎します。

Gforth 0.3.0 と 0.4.0 の間のユーザー向け変更点:

オペレーティング環境:

パス処理:「.」をパスの先頭に置くと、最も近い囲むファイルが存在するディレクトリを表します(存在しない場合は、作業ディレクトリ)。「~+」は作業ディレクトリを示します。デフォルトのパスには先頭に「.」が含まれるようになりました。
gforth と gforthmi は、GNU 標準に準拠するようになりました(コマンドラインオプションに関して)。
新しいコマンドラインオプション:--die-on-signal
エラーは stderr にリダイレクトされるようになりました。
tty の場合、Stdout はバッファリングされなくなりました。
ユーザー入力デバイスのリダイレクション(フィルタ用)が可能になりました。

ポート:

IRIX(およびリンカフラグ -d を使用しないその他の MIPS ベースシステム)で実行できるようになりました。
直接スレッドが PowerPC で動作するようになりました(604e で 20% の速度向上)。
m68k のサポート向上(Andreas Schwab と Jorge Acereda による)。
イメージを含む実行可能ファイルを作成できるようになりました(非 OS システム用)。

埋め込み制御(EC)の多くの機能が追加されました。サポートされているコントローラと小型 CPU は、Siemens C16x、8086、6502、Mixed-Mode の FPGA MISC、Bernd Paysan の 4stack プロセッサです。未完了:ShBoom 別名 PSC1000、H8、AVR。

新しい、変更された、削除された単語:

F0 を FP0 に改名しました(16 進数での予期しない動作を回避)。SP0、RP0、LP0 のエイリアスを追加しました(将来の使用を推奨)。
PARSE-WORD を SWORD に改名しました(PARSE-WORD は OpenBoot と dpans6 A.6.2.2008 の NAME の意味で使用されます)。
FPICK を追加しました(Julian Noble による提案)。
EXCEPTION を追加しました。
S" gforth" ENVIRONMENT? はバージョン文字列を生成するようになりました。
struct パッケージの型の表現を変更し、それに応じて名前を変更しました。

その他:

プレーンテキストドキュメントが doc/gforth.txt で利用可能になりました。
ドキュメントの改善。
単語リスト構造が変更されました。
mini-oof を追加しました。
ファイルの整理:ディレクトリを追加し、多くのファイルをそれらに整理しました。ファイル名を 8.3 形式にリネームして、完全に壊れたシステムでも動作するようにしました(ただし、そこでは動作しないファイルがいくつかあります)。
バグ修正。
ログ情報なしの様々な変更(メガパッチとしてのみ知られています)。
クロスコンパイラは、未定義または前方参照された単語のコンパイルもサポートするようになりました。一部のネイティブコード生成をサポートするプラグイン(PSC1000 用)。
compat ライブラリにさらに多くのファイルを追加しました。

Gforth 0.2.1 と 0.3.0 の間のユーザー向け変更点:

ほとんどのシステムでメモリ保護によるスタックオーバーフロー検出
    (mmap による割り当て)。
gforth.fi は完全にリロケータブルになりました。
完全にリロケータブルなイメージの作成が容易になりました。
プリミティブ K と UNDER+ を追加しました。
Win32 サポート。
組み込みコントローラやその他の制約のある環境のサポートが向上しました。
いくつかのバグ修正。
コンセプトインデックスを追加しました。その他のドキュメント改善。

Gforth 0.2.0 と 0.2.1 の間のユーザー向け変更点:

バグ修正

Gforth 0.1beta と 0.2.0 の間のユーザー向け変更点:

移植性とインストール:

バグのある long long を持つアーキテクチャのサポート(alpha-dec-osf)。
DOS およびその他の非 Unix システムのサポート向上。
コマンドライン経由のサイズ変更はイメージに渡され(save-system で保存)、プリアンブルがインタープリタを指定し、save-system によって伝播されます。

ツール:

etags サポートの改善。
more.fs は出力ページングを可能にします。
compat/ ディレクトリに Gforth 機能の ANS 実装を追加しました。
tiny multitasker(tasker.fs)を追加しました。
オブジェクト指向プログラミングの 2 つの代替手段を追加しました:oof.fs、objects.fs。
ans-report.fs を追加しました(どの単語がどの単語セットから使用されているかを報告します)。

新しい単語:

POPEN と PCLOSE を OPEN-PIPE と CLOSE-PIPE に変更しました。
FORM、ROWS、COLS を追加しました。
プリミティブ EMIT-FILE、STDOUT、STDERR を追加しました。
TABLE を追加しました(大文字小文字を区別する単語リスト)。
POSTPONE,. を追加しました。
任意の解釈とコンパイルセマンティクスを組み合わせる機能を追加しました(INTERPRET/COMPILE:); 一般的に状態スマートな単語は、そのメカニズムを使用するように書き直されました。

既存単語の変更点:

EMIT と TYPE はファイル単語を介して動作するようになり(リダイレクト可能)、
HEADER はヘッダーにコンパイル単語リストを格納し、REVEAL はその単語リストに表示します。
SYSTEM の動作を変更しました(wretval を返さず、$? に格納します)。
(SYSTEM)( c_addr u -- wretval wior )を追加しました。
' と ['] は、コンパイル専用単語のエラーを生成するようになりました。

-----

著者:Anton Ertl、Bernd Paysan
Copyright (C) 1995,1996,1997,1998,2000,2003,2006,2007,2008,2019,2022,2023,2024 Free Software Foundation, Inc.

このファイルは Gforth の一部です。

Gforth はフリーソフトウェアです。再配布および/または変更は、Free Software Foundation が発行した GNU General Public License の条件に従って行うことができます。バージョン 3 のライセンス、または(オプションで)それ以降のバージョンです。

このプログラムは、有用であることを期待して配布されますが、いかなる保証もありません。商品性または特定目的への適合性の黙示の保証もありません。詳細は GNU General Public License を参照してください。

このプログラムには、GNU General Public License のコピーが付属しています。付属していない場合は、http://www.gnu.org/licenses/ を参照してください。


% Local Variables:
% fill-prefix: "  "