muforth

A simple, indirect-threaded Forth, written in C; for target compiling; runs on Linux, BSD, OSX, and Cygwin

  • 所有者: nimblemachines/muforth
  • 平台:
  • 许可证: Other
  • 分类:
  • 主题:
  • 喜欢:
    0
      比较:

Github星跟踪图

What is muforth?

muforth is a small, simple, fast, indirect-threaded code (ITC) Forth intended
for use as a cross-compiler for microcontrollers and other embedded devices.
It is written in C and its core is very portable. Because of its Forth nature,
it is naturally extensible, scriptable, and customizable.

It is very well-suited to interactive coding, debugging, and exploration, and
is a great tool for bringing up new hardware.

It has support - in varying degrees of completeness - for the following
architectures:

Why yet another Forth?

I initially wrote muforth because I wanted to try out some implementation
ideas. Today there is very little that distinguishes muforth from fig-FORTH -
but the differences go rather deep.

Its implementation is no longer the point. Its sole reason for existing
is to be a cross/meta/target-compiler for other Forths, and their
implementations are in no way tied to muforth's.

Starting points

BUILDING
will tell you how to build muforth. It's stupid simple.

Sadly, there isn't a lot of documentation right now. A good place to start is
to read the source. It's generally well-commented, and is intended to be read
and understood. mu/startup.mu4 - which is read and executed every time muforth
starts - is the heart of the system.

Look in
mu/target/
to find a target that interests you. There is generally a
mu/target//build.mu4 that loads the cross-build environment. Use it as
an "index" to find the assembler, disassembler, meta-compiler, kernel, and
other key pieces of code.

muforth.nimblemachines.com is also,
finally, spreading its wings.

Above all, enjoy!

主要指标

概览
名称与所有者nimblemachines/muforth
主编程语言Forth
编程语言Forth (语言数: 10)
平台
许可证Other
所有者活动
创建于2008-03-17 22:34:15
推送于2025-07-14 18:31:46
最后一次提交2025-07-12 23:38:12
发布数0
用户参与
星数143
关注者数22
派生数32
提交数3.1k
已启用问题?
问题数39
打开的问题数17
拉请求数0
打开的拉请求数1
关闭的拉请求数6
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?