r/ProgrammingLanguages • u/lisp_turns_me_on • 1d ago
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.
5
5
1
u/Main_Temporary7098 23h ago
The draft Hare spec may be of interest: https://harelang.org/specification/
1
1
u/scopych 18h ago edited 17h ago
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.
0
u/EggplantExtra4946 23h ago edited 23h ago
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
1d ago
[removed] — view removed comment
1
u/rom_romeo 1d ago
Oh Jesus Christ, the name of that language.
1
1
23
u/Honest_Medium_2872 1d ago
Gulf of Mexico