[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


Thread archived.
You cannot reply anymore.


[Advertise on 4chan]


File: emac.jpg (21 KB, 474x266)
21 KB JPG
>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

>Browse imageboards in Emacs Org-Mode
https://github.com/eNotchy/4g

>Emacs Distros
https://github.com/caisah/emacs.dz

>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://lisp-docs.github.io
https://awesome-cl.com

>Scheme
https://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://clojure.land
https://www.clojure-toolbox.com
https://mooc.fi/courses/2014/clojure
https://jafingerhut.github.io/cheatsheet/clojuredocs/cheatsheet-tiptip-cdocs-summary.html

>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

(recur >>108559798 )
>>
File: coon.png (1.78 MB, 1400x935)
1.78 MB PNG
>>108562871
>For some reason I thought ultralisp automatically pulled in things in quicklisp too, so if you distribute on quicklisp then it's also on ultralisp without having to do anything. Is that actually the case?

>The Data
Let's start by setting up some data to play with.
;; lang: lisp
;; get dists
(defparameter ql-dist (ql-dist:find-dist "quicklisp"))
(defparameter ul-dist (ql-dist:find-dist "ultralisp"))
;; get system names
(defparameter ql-names (mapcar #'ql-dist:name (ql:provided-systems ql-dist)))
(defparameter ul-names (mapcar #'ql-dist:name (ql:provided-systems ul-dist)))


>How many systems exist?
;; lang: lisp
(list
;; number of systems in quicklisp
(length ql-names)
;; number of systems in ultralisp
(length ul-names))

Results:
(6207 6882) 


>How many systems do they have in common?
;; lang: lisp
;; number of systems in common between quicklisp and ultralisp
(length (intersection ql-names ul-names :test #'string=))

Results:
3441 (12 bits, #xD71) 


>How many systems are unique to each distribution?
;; lang: lisp
(list
;; # of systems only in quicklisp
(length (set-difference ql-names ul-names :test #'string=))
;; # of systems only in ultralisp
(length (set-difference ul-names ql-names :test #'string=)))

Results:
(2766 3441) 


They are quite different. I expected there to be much more overlap between quicklisp and ultralisp, but the data revealed otherwise.
>>
To be able to run code blocks using the 4g client by hitting `C-c C-c', make sure you have org-babel-do-load-languages set up.
https://orgmode.org/worg/org-contrib/babel/languages/index.html
Example:
  (org-babel-do-load-languages
'org-babel-load-languages
'(
(duckdb . t)
(emacs-lisp . t)
(gnuplot . t)
(jq . t)
(julia . t)
(lisp . t) ; This is for Common Lisp.
(perl . t)
(restclient . t)
(shell . t)
(sql . t)
(sqlite . t)
))

To be able to run Common Lisp code blocks, you also need this.
  ;; slime users use #'slime-eval instead
(setq org-babel-lisp-eval-fn #'sly-eval)

Sly (or Slime) also has to be running when you want to eval.
>>
>>108655930
Thanks for spending the time to answer my lazy question. I'm surprised there is that much of a difference. Now I wonder if there's anything awesome I'm missing out on that's only in the ultralisp ecosystem.
>>
what do you use it for? it catches my attention but i don't know what i'd use it for :/

I need to pass programming by learning js. i also spend a long time in the terminal learning linux and networking
>>
>>108656789
Regardless of what you want kind of program you want to make, chances are some dialect of Lisp can be used to make it. The main notable exception I can think of is OS development.
>>
>>108657000
How is that a notable exception when multiple OSes have been made in Common Lisp?
Here's one still under active development: https://github.com/froggey/mezzano
>>
>>108656789
>i also spend a long time in the terminal learning linux and networking
Emacs would be pretty handy here, even for mundane things like reading docs (man-pages and Info manuals).
>>
>>108657173
I stand corrected then, though I have a hard time imagining an OS written in a garbage-collected language having acceptable performance.
>>
File: GXc3LcbbwAMJtLP.jpg (130 KB, 1184x862)
130 KB JPG
>>108657234
GC does not preclude performance. In fact it's a well known tradeoff that GC usually gives better performance in throughput at the expense of a larger memory footprint.
Also, from Kent Pitman: "Please don't assume Lisp is only useful for Animation and Graphics, AI, Bioinformatics, B2B and E-Commerce, Data Mining, EDA/Semiconductor applications, Expert Systems, Finance, Intelligent Agents, Knowledge Management, Mechanical CAD, Modeling and Simulation, Natural Language, Optimization, Research, Risk Analysis, Scheduling, Telecom, and Web Authoring just because these are the only things they happened to list."
Common Lisp has had a long history of being used for real software. In 1987 a small group created a set of VSLI design tools complete with GUI that were used to design real processors that were made.
>>
>>108657207
it might help. I see it later, thanks anon! nice little thread



[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.