mstoical
ActorForth
mstoical | ActorForth | |
---|---|---|
4 | 1 | |
23 | 20 | |
- | - | |
0.0 | 4.6 | |
over 1 year ago | 9 months ago | |
C | C++ | |
GNU General Public License v3.0 only | BSD 3-clause "New" or "Revised" License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
mstoical
-
Retro: A Modern, Pragmatic Forth
I'm not a C programmer, and it took a fair bit of help from folks here on HN to get it compiling (it was forked from a 20 year old C source), for which I'm grateful.
[1] https://github.com/mikewarot/mstoical
-
Ask HN: Programming Without a Build System?
Details I didn't include but should have (I wasn't sure I'd have any replies at all... I should have had more faith, sorry)
It's a bit of a ramble, sorry about that.
MSTOICAL[0] is a fork of an old C based Forth variant, it took some help from the HN community[1] to get it to compile in a modern 64 bit environment, for which I am very thankful. However, it uses AutoConf to configure, build, install, etc... and I can't for the life of me figure out how to remove all of that logic. (C isn't my primary language, I'm willing to learn that, but adding AutoConf on top of it was too much)
In order to work on that, I was willing to switch to Linux (Ubuntu)... got everything up and running for the most part, but then I couldn't access WikidPad[2], my local Wiki with my appointments, etc. I missed a doctors appointment because of that, so went back to Windows.
The issue is around wxWindows changing the names of variables in some calls. On Windows, you just download an EXE installer and you're good to go. I couldn't figure it out because the program seems to be unwilling to support newer Python versions. (I could be wrong)
I don't understand why they felt the need to make breaking changes to wxWindows, and the python is a bit too dense for me.
So finally... I'm back in Windows 10, and decided to try to craft together a twitter clone with a bunch of weird ideas that I tossed out at 3:30 am in a twitter thread, and put into a more coherent manifesto.[3]
[0] https://github.com/mikewarot/mstoical
[1] https://news.ycombinator.com/item?id=30957273
[2] https://github.com/WikidPad/WikidPad
[3] https://github.com/mikewarot/iceberg/blob/main/MANIFESTO.md
-
Ask HN: Paragraphs – should they contain line breaks?
Reviewing the documentation from Stoical[1], it occurs to me that fixed line length text is archaic, yet I'm new to this world of C programmers.
Is it reasonable to get rid of all the extra line breaks and make something that flows better on all screen sizes?
[1] - https://github.com/mikewarot/stoical/blob/main/doc/Stoical
-
Old C code – how to upgrade it?
That'd probably get you some way there already: https://github.com/mikewarot/stoical
ActorForth
-
Retro: A Modern, Pragmatic Forth
> I would love a Forth with a type system. I don't know if that is heretical [...].
Mitch Bradley (of Open Firmware fame) thinks it’s old hat[1], so guess not. (He also thinks it won’t work though.) In general, people have tried a lot of times; there’s a number of postfix Lisps with type systems—Kitten mentioned elsethread, ActorForth[2], etc.; a low-level Forth, as in untyped cells on stack and no automatic memory management, I don’t think has been done to completeness (IIRC either Forth, Inc. or MPE have a standing offer for any that’s able to process their legacy code), but then C wouldn’t be complete by that standard either (and Rust far too limiting).
Honestly I’m not sure how well it would work—in C, you get a great deal of utility out of compound types, and classic cell-oriented Forth kind of sucks at even mildly complex datastructures—they are certainly possible, but being unable to manipulate them as values on the stack makes things quite unnatural. (And that’s where I draw the line of “postfix Lisps” like PostScript rather than Forths, as such manipulation doesn’t seem feasible without some sort of automatic memory management.)
[1] https://github.com/ForthHub/discussion/issues/79
[2] https://github.com/ActorForth/ActorForth
What are some alternatives?
gale - Strongly-typed, minimal-ish, stack-based development at storm-force speed.
create-react-app-zero - All of Create React App, none of the dependencies
kitten - A statically typed concatenative systems programming language.
copycat - A concatenative language on Scheme
discussion - Discussion repository for Forth enthusiasts.
factor - Factor programming language
stoical - An ancient forth like language
iceberg - Twitter hit an iceberg, let's replace the ship by Thanksgiving (Nov 24, 2022)
retdec - RetDec is a retargetable machine-code decompiler based on LLVM.
stoical-mentoring