[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / 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]


Janitor applications are now open. Apply here!


[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

>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

prev thread: >>108879491
>>
File: 1779664996678.jpg (201 KB, 1040x1023)
201 KB JPG
>>108967280
LOOP > DO/DO*.
>>
reposting my friend's research Lisp
https://github.com/hydrastro/lizard
>>
File: defense.png (127 KB, 1434x1986)
127 KB PNG
https://www.anduril.com/rebooting-the-arsenal
I've been thinking about war lately.
Can Lisp be part of this?
Should Lisp be part of this?
>>
>>108967280
When I did look at lisp briefly, I did find that it has a more simpler lambda system than all other languages. Lisp however is in a format that is just very difficult to learn and come back to.
>>
>>108967280
Is there a straight forward linear resource to learning lisp? The current resources are not linear, it's hard to learn is what I am saying as nicely as possible.
>>
>>108967746
It just looks different from what you're used to. I used to think the same, but with a little acclimation, it's not harder or easier. (I think structural editing is kinda fun, though.)
>>
File: file.png (34 KB, 390x440)
34 KB PNG
>>108967756
Take a look at this very short book.
https://almightylisp.com/
It'll get you bootstrapped and competent in CL fairly quickly if you work through their examples. You probably already know some of what they're going to teach you. It'll fill in the gaps in your knowledge.
>>
>>108967726
why should engineers work for profiteering CEOs that lobby their governments for actions that negatively impact society's well being in exchange for higher GDP? what is the purpose of the United States of America? why is blackmail being used to force American officials' hands? what other tools are being used to force officials' hands?
>>
>>108967773
>what other tools are being used to force officials' hands?
It always boils down to:
money
media
psychopathic (((demon))) energy
>>
File: lisp-alien-knight.png (191 KB, 400x400)
191 KB PNG
>>108967726
>The Dynamic Analysis and Replanning Tool, commonly abbreviated to DART, is an artificial intelligence program used by the U.S. military to optimize and schedule the transportation of supplies or personnel and solve other logistical problems.
>DART was introduced to support military logistics planning and was utilized during preparations for Operation Desert Storm.
https://en.wikipedia.org/wiki/Dynamic_Analysis_and_Replanning_Tool
>Dynamic Analysis and Replanning Tool (DART) System/Subsystem Specification
https://archive.computerhistory.org/resources/access/text/2023/08/102805225-05-01-acc.pdf
>>
File: 1770035509219835.png (139 KB, 199x539)
139 KB PNG
the blow man uses emacs?
>>
>>108968536
Yep
>>
>>108967280
Where can I find lisp wallpapers? Didnt find any on /wg/
>>
>>108970247
https://github.com/t-sin/lisp-alien-wallpapers
>>
File: not-angry-fruit-salad.jpg (393 KB, 1920x1080)
393 KB JPG
>>108968536
What theme is he using?
https://www.twitch.tv/j_blow/clip/InventiveArtsyGarbageOSfrog-FZxufO5yBFFA8bWY
>>
>>108971496
Isn't that one of the classic ones? I think it had the name of a grain or something, wheat?
>>
>>108971601
you're thinking of wheatgrass, and that's not it
>>
File: flammenwerfer.png (108 KB, 400x524)
108 KB PNG
>>108967726
>Coalton is currently used in production to build defense and quantum computing software.
https://github.com/coalton-lang/coalton
https://www.youtube.com/watch?v=xuSrsjqJN4M
>>
>>108971496
He wrote a custom theme for himself and didn't share it. There is a theme called "naysayer" if I remember correctly, which mimics his setup. "M-x list-packages", then isearch for "naysayer".
>>
>>108972682
>naysayer
It looks like a pretty good approximation to me.
https://github.com/nickav/naysayer-theme.el
>>
File: barberry.png (1.32 MB, 1178x1986)
1.32 MB PNG
A Wine Notebook and Database
https://www.barberry.io/

Made with Emacs
https://github.com/d12frosted/vino
https://github.com/d12frosted/vulpea
>>
>>108967770
Looks nice! Thank you!
>>
>>108974812
>vulpea
https://www.d12frosted.io/posts/2025-11-28-vulpea-v2-breaking-up-with-org-roam
This is really interesting. It has a lot of the same capabilities of org-roam, but it's more programmer-friendly. If you want to build systems on top of it, you can. Vino is an example this.

The question of how to build specialized databases was on my mind recently, and I'm glad I found something like this.
>>
File: aigp.png (127 KB, 1434x1032)
127 KB PNG
>>108967726
Autonomous Drone Race
https://www.theaigrandprix.com/
>>
>>108967756
>Is there a straight forward linear resource to learning lisp?
"A gentle introduction to symbolic computation"
>>
>>108967756
>The current resources are not linear, it's hard to learn is what I am saying as nicely as possible.
How about "Practical Common Lisp", which is very good, and "Land of Lisp" which is fun?

But really, the core of Lisp can be explained more or less succintly:
- Everything is an expression
- Expressions are delimited by parenthesis ()
- Every expression evaluates to a value.
- Special values are T and NIL, consider them "true " and "null/false" but more in a minute...
- For logic operations or boolean operations, everything that is not NIL is considered true. T is also true because it is not NIL.
- There are many data types, most of them you know like integers or strings, but one you don't know is the SYMBOL.
- A symbol is just a token you can use to represent something, for example you can have a list with the elements (SCISSORS KNIFE PAPER STONE), scissors, knife, paper, stone can be symbols, in that case they're not variables because variables are replaced (evaluated) to another value; symbols just stay as their are, they evaluate to their own value.
- A typical use of a symbol is to pass options to a function, for example if i call a function like this:

(read-csv-file myfile :quote-mode :always)

both ":quote-mode" and ":always" are symbols too, which in this context would specify that the CSV file will always be quoted.

- In the previous example, symbols have ":" prepended. These symbols are called "keywords" and they have a small difference: they are global, not unique to a namespace ("package"), while regular symbols have their own namespace ("package")
>>
>>108975186
>500k
>win a job
how about the engineers that develop the tech get 50% of all profits made from the tech?
the engineers deserve the money more than any CEO or marketing dept. does.
a whole lot of words talking about bold engineers and shit.
>>
>>108975257
(continuation)

- to call a function "myfunction" with arguments 3.14 and "apple" the syntax would be:

(myfunction 3.14 "apple")

This will pass the values/arguments to "myfunction" and thus evaluating the expression to a value. (Remember, in Lisp, everything evaluates to a value or "returns a value" if you want to see it that way.) Functions are similar to what you have in Python: they have a name, arguments, can have variable arguments, optional arguments, keyword arguments, etc.

- however, if you write:

'(myfunction 3.14 "apple")

The prepended quote (') tells the Lisp compiler/engine ("lisp implementation" in proper terms) that we don't want to evaluate the function. This means your input evaluates to a LIST with three elements:
1. myfunction, a SYMBOL
2. 3.14, a float number
3. "apple", a string

- lists are the fundamental or main data structure. Lisp has a ton of functions to do all kinds of stuff with lists.

- Lisp source code (i.e. function definitions) is MADE OF nested LISTS. Think this twice. Lisp source code is made of lists, and Lisp has a ton of functions to do all kinds of stuff with lists.

- Thus you should be able to write procedural code that takes source code (a list) as input, and produces source code (a list) as an output. This would enable you to create code that transforms code. Such kind of procedure is called a MACRO.

- A macro, syntactically, is used exactly like a function. The difference is that a function is evaluated(called) at runtime while a macro is often called at compile time. Thus, when you compile your source code (for example when you compile a function), the Lisp compiler executes all macros, thus processing your source code to its final form, and then compiling it.

- Macros, then, allow you to extend the programming language as you wish. Macros are an essential feature of Lisp and a Lisp IDE has many features intended to make debugging and testing of macros easy.
>>
is there any way to do generic functions in guile without goops?
>>
File: cl-cookboook.cover.png (221 KB, 1354x1915)
221 KB PNG
>>108974875
No problem. That book didn't exist when I decided to learn CL, but I think it would have sped up my learning process if I had access to it. With that said, there *is* one resource that I found myself going back to time and time again while I was learning CL, and I still reference it now.
The Common Lisp Cookbook
https://lispcookbook.github.io/cl-cookbook/
https://github.com/LispCookbook/cl-cookbook/

It's extremely practical in what it covers, and whenever I wondered "How do I do ___ in CL?" ...more often than not, I found the answer in this book. It's not even an exaggeration to say that over 90% of my CL knowledge came from skimming sections of this book when I needed help. I really like this book, and I'm thankful for @vindarel for maintaining it.
>>
>>108975771
For me it was https://dept-info.labri.fr/~strandh/Teaching/PFS/Common/David-Lamkins/contents.html
>>
>>108975669
by reimplementing the relevant parts of goops
>>
>>108975669
why not just use goops?



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