> "... который должен заменить собой загрузчик на базе языка Forth " :%
> Капец, наркоманы.. Я думала, что этот язык создан, как и Brainfuck, just
> for lulz:0 А на нём ещё и софт пишут.. Впринципе, какой
> язык, такой и софт;) интерпретатор forth очень компактен и быстр, раньше по этой причине часто использовался во встраиваемом оборудовании.
сейчас ficl (интерпретретатор forth в составе /boot/loader) занимает около 120kb.
Ficl Documentation
http://ficl.sourceforge.net/ficl.html
What is Ficl?
Ficl is a complete programming language interpreter designed to be embedded into other systems (including firmware based ones) as a command, macro, and development prototype language. Unlike other scripting interpreters, Ficl:
- typically takes under 2 hours to port to a new system—much less if the target operating system is one of several already supported (Win32, Linux, FreeBSD, RiscOS, and more)
- has a small memory footprint: a fully featured Win32 console version takes less than 100K of memory, and a minimal version is less than half that
- is relatively quick thanks to its "switch-threaded" virtual machine design and just in time compiling
- is a complete and powerful programming language
- is interactive
- has object oriented programming features that can be used to wrap data structures or classes of the host system without altering them—even if the host is mainly written in a non-OO language
Ficl syntax is based on ANS Forth and the code is ANSI C. See below for examples of software and products that include ficl. Ficl stands for "Forth inspired command language".
------
ANSI Forth, Карл =)