Words can be added based on C functions by placing a file named userwords.h
alongside the .ino file for ESP32forth.
-(Requires v7.0.6.4+)
+Requires v7.0.6.4+
Before v7.0.6.4, user words required editing the .ino file.
Requires v7.0.7.3+ -- ONLY Posix + ESP32
++cp ( "src" "dst" -- ) Copy "src" file to "dst". +mv ( "src" "dst" -- ) Rename "src" file to "dst". +rm ( "path" -- ) Remove "path" file. +touch ( "path" -- ) Create "path" file if it doesn't exist. +cat ( "path" -- ) Print contents of "path" file. +ls ( "path" -- ) List files or directories in "path". ++
Requires v7.0.7.3+ -- ONLY Posix
++cd ( "path" -- ) Change director to "path". +mkdir ( "path" -- ) Create directory "path". +rmdir ( "path" -- ) Remove directory "path". +pwd ( -- ) Print current directory. ++ +
Requires v7.0.7.2+
++VISUAL EDIT ( "path" --) Enters a visual editor opening file "path". + +NOTE: On ESP32 requires connection over an ANSI serial terminal like Putty. + +LIMITATIONS: Terminal doesn't know screen dimensions + and is very redraw inefficient. + +Keys: + Ctrl-S -- Save now. + Ctrl-X / Ctrl-Q -- Quit, asking Y/N to save. + Ctrl-L -- Redraw the screen. + Backspace -- Delete a character backwards. + Arrow Keys -- Movement. + PgUp/PgDn -- Scroll up/down a page.
(Requires v7.0.6.5+)
+Requires v7.0.6.5+
Single precision floating-point support is available as a work in progress. While initially left out in the name of minimalism,