簡體   English   中英

在Forth中打印功能的定義

[英]Print definition of a function in Forth

如果在Forth中已經定義了一個單詞,是否可以打印其定義?

我聽說,Forth的許多內置函數(例如emitdrop等)都是根據語言本身定義的,我希望能夠了解它們的定義。

您通常可以使用

see emit

在Gforth中,這可以為您提供以下信息:

: (emit)
  outfile-id emit-file drop ;
latestxt
Defer emit
IS emit
 ok

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM