[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology

Name
Options
Comment
Verification
4chan Pass users can bypass this verification. [Learn More] [Login]
File
  • Please read the Rules and FAQ before posting.
  • You may highlight syntax and preserve whitespace by using [code] tags.

08/21/20New boards added: /vrpg/, /vmg/, /vst/ and /vm/
05/04/17New trial board added: /bant/ - International/Random
10/04/16New board for 4chan Pass users: /vip/ - Very Important Posts
[Hide] [Show All]


[Advertise on 4chan]


>Lisp is a family of programming languages with a long history and a distinctive parenthesized prefix notation. There are many dialects of Lisp, including Common Lisp, Scheme, Clojure and Elisp.

>Emacs is an extensible, customizable, self-documenting free/libre text editor and computing environment, with a Lisp interpreter at its core.

>Emacs Resources
https://gnu.org/s/emacs
https://github.com/emacs-tw/awesome-emacs
https://github.com/systemcrafters/crafted-emacs

>Learning Emacs
C-h t (Interactive Tutorial)
https://emacs-config-generator.fly.dev
https://systemcrafters.net/emacs-from-scratch
http://xahlee.info/emacs
https://emacs.tv

>Emacs Distros
https://spacemacs.org
https://doomemacs.org

>Elisp
Docs: C-h f [function] C-h v [variable] C-h k [keybinding] C-h m [mode] M-x ielm [REPL]
https://gnu.org/s/emacs/manual/eintr.html
https://gnu.org/s/emacs/manual/elisp.html
https://github.com/emacs-tw/awesome-elisp

>Common Lisp
https://lispcookbook.github.io/cl-cookbook
https://cs.cmu.edu/~dst/LispBook
https://gigamonkeys.com/book
https://lem-project.github.io
https://stumpwm.github.io
https://nyxt-browser.com
https://awesome-cl.com

>Scheme
https://scheme.org
https://try.scheme.org
https://get.scheme.org
https://books.scheme.org
https://standards.scheme.org
https://go.scheme.org/awesome
https://research.scheme.org/lambda-papers

>Clojure
https://clojure.org
https://tryclojure.org
https://clojure-doc.org
https://calva.io
https://clojure.land
https://www.clojure-toolbox.com
https://mooc.fi/courses/2014/clojure
https://clojure.org/community/resources

>Other
https://github.com/dundalek/awesome-lisp-languages

>Guix
https://guix.gnu.org
https://nonguix.org
https://systemcrafters.net/craft-your-system-with-guix
https://futurile.net/resources/guix
https://github.com/franzos/awesome-guix

>SICP/HtDP
https://web.mit.edu/6.001/6.037/sicp.pdf
https://htdp.org

>More Lisp Resources
https://lisp.nexus
https://rentry.org/lispresources

(set! prev-bread (quote >>106931744))
>>
File: (make-lisp-great-again).png (1.15 MB, 1600x1200)
1.15 MB
1.15 MB PNG
Nice
https://github.com/lem-project/lem/blob/main/extensions/coalton-mode/coalton-mode.lisp
>>
> new thread
fantastic and beautiful
>>
emakkk
>>
>>106994327
>Coalton and LEM
based
>>
>common lisp being slow for reading stdin
lmaoing
imagine having to write IO and buffer logic just to process some logs. Kudos on the monkey that posted that on the previous jej
>>
File: 1759117867867997.png (25 KB, 1021x253)
25 KB
25 KB PNG
bruh
>>
Again asking for help for this:
>>106987033

Some anon in last thread managed to get it working but we don't understand why it is not working for me
>>
>>106995201
Don't worry I'll mantain it when I learn enough Lem
>>
>>106995377
it just killed all my expectations, someone who thinks webview is a good substitute for anything just cant make good things
>>
#!/usr/bin/env -S sbcl --script

(load "~/.sbclrc")

(require :sb-sprof)


(declaim (optimize (speed 3) (safety 0) (debug 0)))

(defun main ()
(declare (optimize (speed 3) (safety 0) (debug 0)))
(let ((i 0)
(line nil))
(declare (fixnum i)
(type (or string null) line))
(loop
do (setf line (read-line *standard-input* nil))
while line
do (incf i)
finally (format t "size: ~a~%" i))))

(eval-when (:execute)
(sb-sprof:with-profiling
(:max-samples 100000
:sample-interval 0.00001
:report :graph)
(main)))


It indeed wastes most of its time with UFT-8 conversion stuff. If I use (with-open-file (str file) :external-format :my-format ...) it goes faster, but then I can't use stdin.
>>
>>106994238
no use case for lisp
>>
>CIEL Is an Extended Lisp
https://ciel-lang.org
https://github.com/ciel-lang/CIEL
>>
>>106995452
Have you tried using read-byte instead and just treating the input as a raw binary?
>>
>>106995650
but I need to run regex on it bruh
>>
>>106995452
God the loop syntax is so fucking fugly



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.