I was expecting to see FORTH in bare metal C or ASM.
There is a common myth about newbie programmers that FORTH is write-only and that you need to type everything in one line, without comments or function calls etc.
Writing forth is super easy especially if you have a stack machine at your disposal. For example when you are building your own virtual cpu/architecture with assembler and compiler.
It's more trivial than to understand any JavaScript framework lol
Research FORTH more guys - it doesn't need to be strange and hard :)
I've been on/off working on a homebrew NES game. Pretty much the go-to environment for that is assembly, which I'm sure I could write if I were motivated, but I find assembly considerably un-fun so I wanted to use a higher-level language.
I had been looking for an excuse to learn Forth, and its use in classic computing meant that it had a shot of being workable on the NES.
I was initially using IceForth but I had trouble getting that working, and so I got Codex to generate something that works, but then I also that building your own Forth is sort of a rite of passage for a software engineer, so I have been building my own Forth from scratch.
My custom hack-job isn't ready yet, but I was extremely impressed at the performance I was able to get on the NES with compiled Forth from the Codex thing on the NES. I'm getting roughly 80% of the speed for equivalent programs written in assembly, with much less code and this is without advanced optimizations. I do plan on finishing my custom one because I think I can build what I want a bit better than Codex, and I'm optimistic I can get the performance reasonable.
Forth is such a fascinating language, because it sort of enables you to work at any level of the program. You can write it super high level, almost like Lisp, but you can also poke around and create mappings to assembly, and you can do all this with decent performance no less! It has quickly become one of my more favorite scripting languages, though that might be because I have always had a soft spot for RPN.
I like building little throwaway FORTH interpreters as an exercise when learning a new language. They tend to touch just enough common programming needs to be interesting: read user input and/or a file, parse the input, run a state machine with two stacks, write output.
Score Breakdown
+0.16
PreamblePreamble
Medium A-education F-accessibility
Editorial
+0.20
Structural
+0.10
SETL
+0.14
Combined
ND
Context Modifier
ND
Content emphasizes learning and skill development through accessible educational challenge. No direct human dignity language, but educational access aligns with preamble values.
ND
Article 1Freedom, Equality, Brotherhood
No observable content addressing equality, freedom, reason, or conscience.
ND
Article 2Non-Discrimination
No observable content addressing discrimination.
ND
Article 3Life, Liberty, Security
No observable content addressing life, liberty, security of person.
ND
Article 4No Slavery
No observable content addressing slavery or servitude.
ND
Article 5No Torture
No observable content addressing torture or cruel treatment.
ND
Article 6Legal Personhood
No observable content addressing legal personhood.
ND
Article 7Equality Before Law
No observable content addressing equality before law.
ND
Article 8Right to Remedy
No observable content addressing judicial remedy.
ND
Article 9No Arbitrary Detention
No observable content addressing arbitrary arrest or detention.
ND
Article 10Fair Hearing
No observable content addressing fair trial rights.
ND
Article 11Presumption of Innocence
No observable content addressing criminal liability or presumption of innocence.
-0.11
Article 12Privacy
Medium P-tracking
Editorial
ND
Structural
-0.08
SETL
ND
Combined
ND
Context Modifier
ND
Google Analytics with IP anonymization present. Minimal privacy impact due to anonymization, but tracking signal observable. Context modifier applied for ad_tracking.
ND
Article 13Freedom of Movement
No observable content addressing freedom of movement.
ND
Article 14Asylum
No observable content addressing asylum or refuge.
ND
Article 15Nationality
No observable content addressing nationality.
ND
Article 16Marriage & Family
No observable content addressing marriage or family.
ND
Article 17Property
No observable content addressing property rights.
ND
Article 18Freedom of Thought
No observable content addressing freedom of thought or conscience.
+0.26
Article 19Freedom of Expression
Medium A-education P-access
Editorial
+0.30
Structural
+0.20
SETL
+0.17
Combined
ND
Context Modifier
ND
Educational content freely published and accessible; platform facilitates expression through learning challenges. Support for information access observable through open challenge structure.
ND
Article 20Assembly & Association
No observable content addressing freedom of assembly or association.
ND
Article 21Political Participation
No observable content addressing political participation.
ND
Article 22Social Security
No observable content addressing social security.
ND
Article 23Work & Equal Pay
No observable content addressing work or employment.
ND
Article 24Rest & Leisure
No observable content addressing rest and leisure.
+0.48
Article 25Standard of Living
High A-education P-access
Editorial
+0.40
Structural
+0.30
SETL
+0.20
Combined
ND
Context Modifier
ND
Educational challenge platform directly supports standard of living and well-being through free access to learning. No barriers to participation observed. Context modifier applied for access_model.
+0.56
Article 26Education
High A-education P-accessibility F-equal-access
Editorial
+0.45
Structural
+0.35
SETL
+0.21
Combined
ND
Context Modifier
ND
Platform explicitly promotes education through free coding challenges. Accessibility features (dark/light theme, skip navigation) observed. Free access model removes financial barriers. Strong alignment with right to education. Context modifiers applied for mission and access_model.
+0.46
Article 27Cultural Participation
High A-education F-skill-development
Editorial
+0.35
Structural
+0.25
SETL
+0.19
Combined
ND
Context Modifier
ND
Forth interpreter challenge supports participation in cultural and scientific advancement. Educational platform facilitates skill development and technical knowledge sharing. Context modifier applied for mission.
+0.18
Article 28Social & International Order
Medium A-education P-access
Editorial
+0.20
Structural
+0.15
SETL
+0.10
Combined
ND
Context Modifier
ND
Free educational access supports social order promoting fundamental freedoms. No observable barriers or restrictions on participation.
ND
Article 29Duties to Community
No observable content addressing duties to community.
ND
Article 30No Destruction of Rights
No observable content addressing limitations on rights or state authority.