bshepherdson / fcc Goto Github PK
View Code? Open in Web Editor NEWForth interpreter and compiler - a standard, portable, optimized Forth
License: Apache License 2.0
Forth interpreter and compiler - a standard, portable, optimized Forth
License: Apache License 2.0
> see .
Decompiling .
Segmentation fault (core dumped)
$ ./forth
ok
> : t 1 . ;
ok
> see t
Decompiling t
Segmentation fault (core dumped)
Reproduced for 088d089 commit on Linux 64, fcc build with GCC 11.1.
GNU readline is GPL licensed, so things containing it need to be open source themselves. I'm not a lawyer, but I think the Apache-licensed FCC is okay for now. But shipping a closed-source binary built using FCC that linked against GNU readline would not be okay.
editline and its dependency ncurses have less strong licenses (BSDish and X11/MIT respectively) which are compatible with shipping a closed-source binary that links against them.
Modeled on Gforth's system, probably. Ideally compatible. Looks like running the compile commands in the background and then using dlopen()
support will work.
That's not portable to non-POSIX platforms, but there are equivalents on Windows.
If the target word is not found, these parsing words silently fail. They should produce the same error message as trying to interpret/compile such a missing word.
Like a search tree or something, I don't know what's best.
Probably do multiple wordlists at the same time, add that extension word list.
Currently missing:
.R
, HOLDS
, and U.R
2>R
, 2R>
and 2R@
C"
and S\"
CASE
, ENDCASE
, OF
, ENDOF
MARKER
RESTORE-INPUT
and SAVE-INPUT
[COMPILE]
(obsolete, maybe skip?)Better for portability than linking them from the filesystem. More annoying for development, though.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.