An open API service indexing awesome lists of open source software.

https://github.com/barrettotte/forth-http

A small web server written to get more practice with Forth
https://github.com/barrettotte/forth-http

forth http

Last synced: 28 days ago
JSON representation

A small web server written to get more practice with Forth

Awesome Lists containing this project

README

          

# forth-http
A small web server written to get more practice with Forth.

I was originally planning on writing an assembler and emulator for the
Little Man Computer (LMC), but I found out that I suck at writing Forth.
So, that project idea will get used with a different language.

Rather than spend multiple weeks trying to get better at Forth, I decided
to just make something small and fun so I could move on to the next dumb side project.

## Summary

- Client sends requests for a file
- Server responds with file if it exists, otherwise sends 404 page
- Yeah, that's it

Usage: ```gforth server.fth```

Server listens on ```127.0.0.1:8004```

## References

- [Starting Forth](https://www.forth.com/starting-forth/)
- [And so Forth...](https://thebeez.home.xs4all.nl/ForthPrimer/Forth_primer.html)
- [Gforth Manual](https://www.complang.tuwien.ac.at/forth/gforth/Docs-html/)