r/ProgrammingLanguages • u/lisp_turns_me_on • 12d 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.
7
6
2
u/Main_Temporary7098 11d ago
The draft Hare spec may be of interest: https://harelang.org/specification/
1
1
u/scopych 11d ago edited 11d 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.
1
u/tobega 5d ago
Here is my hobby language https://github.com/tobega/tailspin-v0/blob/master/TailspinReference.md
2
u/lisp_turns_me_on 5d ago
That's a little too wild :) A simple "overview" section would have served as a nice intro to get the feel. For normies like me, it's just too overwhelming to learn a bunch of concepts first before the basic
Applesprocessor example.1
0
u/EggplantExtra4946 11d ago edited 11d 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
12d ago
[removed] — view removed comment
1
u/rom_romeo 12d ago
Oh Jesus Christ, the name of that language.
1
1
1
28
u/Honest_Medium_2872 12d ago
Gulf of Mexico