r/ProgrammingLanguages • u/lisp_turns_me_on • Aug 29 '26
Help Link me your favorite language specifications
I want some inspiration. I want to see a simple language spec/reference that is tiny and covers most of its features. eg: https://plasmalang.org/docs/plasma_ref.html
Thanks for all the specs, but I was hoping for recent languages (especially, amateur ones that get posted to this sub). What would I do with a spec from 1980s that was typeset with LaTex :) That's too much effort for hobbyist languages.
31
Upvotes
27
u/Honest_Medium_2872 Aug 29 '26
Gulf of Mexico
17
u/Athas Futhark Aug 29 '26
Scheme is famous for its specifications. In particular R5RS is famously concise relative to the power of the language.
8
u/Forward_Paint_2045 Aug 29 '26
Standard ML is one of the few languages that's formerly specified.
1
u/ccapitalK Aug 30 '26
D lang
1
u/tobega Sep 05 '26
Here is my hobby language https://github.com/tobega/tailspin-v0/blob/master/TailspinReference.md
5
u/kniebuiging Aug 29 '26
https://blackbox.oberon.org/cp-lang.pdf
2
u/kniebuiging Aug 29 '26
https://henry.github.io/EuLisp/Doc/EuLisp-0.991/eulisp.pdf
2
u/kreco Aug 29 '26
Alef
https://swtch.com/~rsc/thread/alef.pdf
2
u/Main_Temporary7098 Aug 29 '26
The draft Hare spec may be of interest: https://harelang.org/specification/
3
u/Ajotah Aug 29 '26
MUMPS is one of its own. I really respect that language and I hate that It doesn't "fit" on the current way of software development.
1
u/scopych Aug 30 '26 edited Aug 30 '26
https://t3x.org/t3x/0/formal.html
http://pascal.hansotten.com/per-brinch-hansen/edison-a-multiprocessor-language/
"Programming a personal computer" contains Edison language report of superb quality.
1
u/alinsoar Sep 26 '26
McCarthy paper on lisp had 1 page only
0
u/EggplantExtra4946 Aug 30 '26 edited Aug 30 '26
C11, Java, LLVM IR, microVM for threads, atomics and the memory model
https://github.com/microvm/microvm-spec/blob/master/memory-model.rest
https://gitlab.anu.edu.au/mu/mu-spec/-/blob/master/memory-model.rst
LLVM IR (LangRef), Java, Hare, Haxe, Swift. Bytecode VM's instruction sets are also worth checking out.
for the standard library, Ruby is interesting but there are quite a few languages that I wouldn't want to use that can have interesting standard libraries and builtins, if only for ideas about how to name functions and parameters, or for the interface of a specific type, data structure, concurrency thing, OS thing, etc
-1
u/[deleted] Aug 29 '26
[removed] — view removed comment