トップ 一覧 検索 ヘルプ RSS ログイン

ST-forthの変更点

  • 追加された行はこのように表示されます。
  • 削除された行はこのように表示されます。
!!Forth 言語
詳しくは
https://ja.wikipedia.org/wiki/Forth
を見てもらって
*https://jis.eomec.com/iso/iso-iec-15145_1997-35
*https://qiita.com/takl/items/e28c3298a0a043edeaa6

! はじめに
 学生時代に FORTH と言う言語に出会って、
 また、最近作成しようとしたら、資料がみつからないのでメモをして行きます。
 
 まあ、8bit のマイコンを触っているせいなんだけれど。。
 
 基本は スタック4つ+メモリで動く

!辞書構造 (WikiPedia より)
 structure
  byte:       flag           \ 3bit flags + length of word's name
  char-array: name           \ name's runtime length isn't known at compile time
  address:    previous       \ link field, backward ptr to previous word
  address:    codeword       \ ptr to the code to execute this word
  any-array:  parameterfield \ unknown length of data, words, or opcodes
 end-structure forthword

!History
*https://archive.org/details/byte-magazine-1980-08

!STM8
*https://github.com/TG9541/stm8ef

!STM32 forth
*https://github.com/jeelabs/mecrisp-stellaris

! Arduino-FVM
*https://github.com/mikaelpatel/Arduino-FVM/

! 32-bit RISC-V Forth 
*https://github.com/aw/fiveforths

!cForth
*PRG-cFORTH
*https://github.com/MitchBradley/cforth


!Sample
*https://www.forth.com/starting-forth/9-forth-execution/
==http://phaendal.hatenablog.com/entry/2015/09/30/122848==
*https://github.com/phaendal/jf64
*https://github.com/AlexandreAbreu/jonesforth
*https://gist.github.com/monsonite/087218561b11557dd2f8
*ftp://ftp.taygeta.com/pub/forth/
*https://github.com/oh2aun/flashforthhttps://github.com/oh2aun/flashforth
*http://amforth.sourceforge.net/
*https://github.com/sdwood68/YAFFA
*https://arduino-forth.com/article/FORTH_FlashForth_installerFlashForth