From ee06a7c8abcb430b55019ea86aebb718d007c93c Mon Sep 17 00:00:00 2001 From: zongor Date: Fri, 15 Dec 2023 21:28:43 -0500 Subject: [PATCH] Cleanup, delete starter code --- fortran/README.md | 13 ++++++++++ lisp/README.md | 17 +++++++++++- lisp/client/README.md | 2 ++ lisp/client/mmo-client-sbcl/README.markdown | 5 ---- lisp/client/mmo-client-sbcl/README.md | 10 ++++++++ lisp/client/mmo-client-sbcl/README.org | 5 ---- lisp/client/picolisp/README.md | 7 +++++ lisp/client/picolisp/run.sh | 2 +- lisp/client/racket/README.md | 4 +++ lisp/server/README.md | 4 +++ lisp/server/server.l | 27 -------------------- lisp/www/README.md | 4 +++ lisp/www/run.sh | 2 -- lisp/www/users.db | Bin 512 -> 0 bytes lisp/www/www.l | 27 -------------------- 15 files changed, 61 insertions(+), 68 deletions(-) delete mode 100644 lisp/client/mmo-client-sbcl/README.markdown create mode 100644 lisp/client/mmo-client-sbcl/README.md delete mode 100644 lisp/client/mmo-client-sbcl/README.org create mode 100644 lisp/client/picolisp/README.md create mode 100644 lisp/client/racket/README.md delete mode 100644 lisp/server/server.l delete mode 100755 lisp/www/run.sh delete mode 100644 lisp/www/users.db delete mode 100644 lisp/www/www.l diff --git a/fortran/README.md b/fortran/README.md index 064e0a5..cb106ce 100644 --- a/fortran/README.md +++ b/fortran/README.md @@ -2,7 +2,20 @@ [fortran-µhttpd (game website & webserver)](./www/README.md) +https://9fans.github.io/plan9port/ +https://9fans.github.io/plan9port/man/man8/listen1.html +https://github.com/interkosmos/fortran-sqlite3 + [fortran-mmo-server (game backend)](./server/README.md) +https://github.com/interkosmos/fortran-sqlite3 +https://github.com/jacobwilliams/json-fortran +https://github.com/modern-fortran/tcp-client-server +https://github.com/sustrik/libdill + [fortran-mmo-client (game frontend / UI)](./client/README.md) +https://github.com/raysan5/raylib +https://github.com/jacobwilliams/json-fortran +https://github.com/modern-fortran/tcp-client-server +https://github.com/sustrik/libdill diff --git a/lisp/README.md b/lisp/README.md index b7d6d66..3626ec2 100644 --- a/lisp/README.md +++ b/lisp/README.md @@ -4,10 +4,25 @@ The interesting thing about lisp is that for being the 2nd oldest language, it h Lisp is much easier to implement from a compiler/interpreter point of view due to its structure, so it makes sense that it has so many implementations. -[We are spoiled for choice for this challenge.](https://github.com/dundalek/awesome-lisp-languages) +Note for lfarm, for real world please use their Kerberos/GSSAPI implementation instead of my simple password implementation. Its going to be infinitely better. [lisp-µhttpd (game website & webserver) ](./www/README.md) +http://8arrow.org/caveman/ +https://github.com/fukamachi/datafly +https://github.com/fukamachi/sxql +https://github.com/dnaeon/cl-bcrypt + [lisp-mmo-server (game backend) using picolisp](./server/README.md) +https://github.com/lmj/lfarm +https://github.com/fukamachi/datafly +https://github.com/fukamachi/sxql +https://github.com/dnaeon/cl-bcrypt + [lisp-mmo-client (game frontend / UI) using common lisp](./client/README.md) + +https://github.com/raysan5/raylib +https://github.com/defun-games/claylib +https://github.com/lmj/lfarm +https://github.com/dnaeon/cl-bcrypt diff --git a/lisp/client/README.md b/lisp/client/README.md index e69de29..19e6191 100644 --- a/lisp/client/README.md +++ b/lisp/client/README.md @@ -0,0 +1,2 @@ +# lisp client + diff --git a/lisp/client/mmo-client-sbcl/README.markdown b/lisp/client/mmo-client-sbcl/README.markdown deleted file mode 100644 index 65ceb56..0000000 --- a/lisp/client/mmo-client-sbcl/README.markdown +++ /dev/null @@ -1,5 +0,0 @@ -# Mmo-Client-Sbcl - -## Usage - -## Installation diff --git a/lisp/client/mmo-client-sbcl/README.md b/lisp/client/mmo-client-sbcl/README.md new file mode 100644 index 0000000..9a0f60a --- /dev/null +++ b/lisp/client/mmo-client-sbcl/README.md @@ -0,0 +1,10 @@ +# Mmo-Client-Sbcl + +https://github.com/raysan5/raylib +https://github.com/defun-games/claylib +https://github.com/lmj/lfarm +https://github.com/dnaeon/cl-bcrypt + +## Usage + +## Installation diff --git a/lisp/client/mmo-client-sbcl/README.org b/lisp/client/mmo-client-sbcl/README.org deleted file mode 100644 index 411190f..0000000 --- a/lisp/client/mmo-client-sbcl/README.org +++ /dev/null @@ -1,5 +0,0 @@ -* Mmo-Client-Sbcl - -** Usage - -** Installation diff --git a/lisp/client/picolisp/README.md b/lisp/client/picolisp/README.md new file mode 100644 index 0000000..0f15621 --- /dev/null +++ b/lisp/client/picolisp/README.md @@ -0,0 +1,7 @@ +# unfinished picolisp client + +Got a ton of information about how to even go about doing this from this library here: +https://github.com/hunar1997/raylib-pil + +Also from the picolisp docs: +https://software-lab.de/doc/native.html diff --git a/lisp/client/picolisp/run.sh b/lisp/client/picolisp/run.sh index 416b903..001139f 100755 --- a/lisp/client/picolisp/run.sh +++ b/lisp/client/picolisp/run.sh @@ -1,2 +1,2 @@ #!/bin/bash -~/pil21/pil ~/pil21/lib.l ./input-keys.l \ No newline at end of file +~/pil21/pil ~/pil21/lib.l ./client.l \ No newline at end of file diff --git a/lisp/client/racket/README.md b/lisp/client/racket/README.md new file mode 100644 index 0000000..fb7eb7d --- /dev/null +++ b/lisp/client/racket/README.md @@ -0,0 +1,4 @@ +# unfinished racket client + +Library used: +https://github.com/eutro/racket-raylib diff --git a/lisp/server/README.md b/lisp/server/README.md index e69de29..c4890b3 100644 --- a/lisp/server/README.md +++ b/lisp/server/README.md @@ -0,0 +1,4 @@ +https://github.com/lmj/lfarm +https://github.com/fukamachi/datafly +https://github.com/fukamachi/sxql +https://github.com/dnaeon/cl-bcrypt \ No newline at end of file diff --git a/lisp/server/server.l b/lisp/server/server.l deleted file mode 100644 index aacb24d..0000000 --- a/lisp/server/server.l +++ /dev/null @@ -1,27 +0,0 @@ -(de chat Lst - (out *Sock - (mapc prin Lst) - (prinl) ) ) - -(setq *Port (port 4004)) - -(loop - (setq *Sock (listen *Port)) - (NIL (fork) (close *Port)) - (close *Sock) ) - -(out *Sock - (prin "Please enter your name: ") - (flush) ) -(in *Sock (setq *Name (line T))) - -(tell 'chat "+++ " *Name " arrived +++") - -(task *Sock - (in @ - (ifn (eof) - (tell 'chat *Name "> " (line T)) - (tell 'chat "--- " *Name " left ---") - (bye) ) ) ) -(wait) - diff --git a/lisp/www/README.md b/lisp/www/README.md index e69de29..9677fb0 100644 --- a/lisp/www/README.md +++ b/lisp/www/README.md @@ -0,0 +1,4 @@ +http://8arrow.org/caveman/ +https://github.com/fukamachi/datafly +https://github.com/fukamachi/sxql +https://github.com/dnaeon/cl-bcrypt diff --git a/lisp/www/run.sh b/lisp/www/run.sh deleted file mode 100755 index 0e330bc..0000000 --- a/lisp/www/run.sh +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -pil www.l -main -go -wait diff --git a/lisp/www/users.db b/lisp/www/users.db deleted file mode 100644 index aec433dfd287b99b727bedaf40eac33e2df0b5c9..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 512 YcmZQz0D%TD$pj`x7Qr~Oyo=#m00Z{`ga7~l diff --git a/lisp/www/www.l b/lisp/www/www.l deleted file mode 100644 index 728d829..0000000 --- a/lisp/www/www.l +++ /dev/null @@ -1,27 +0,0 @@ - - (allowed () - "!work" "@lib.css" ) - - (load "@lib/http.l" "@lib/xhtml.l" "@lib/form.l") - - (class +User +Entity) - (rel username (+Need +Sn +Idx +String)) - (rel password (+String)) - (rel px (+Number)) - (rel py (+Number)) - (rel appearance (+String)) - (rel login (+Date)) - (rel created (+Date)) - - (de work () - (app) - (action - (html 0 "MMO Project" "@lib.css" NIL - (

NIL "hello world!") ) ) ) - - (de main () - (locale "US") - (pool "users.db") ) - - (de go () - (server 8080 "!work") )