Questions tagged [specification]
The specification tag has no usage guidance.
4
questions
3
votes
1
answer
604
views
Why is the ECMAScript specification formatted the way it is? [closed]
The ECMAScript specification and its drafts are very accessible, but they're formatted a bit oddly -- case in point, the current version of the ToBigInt abstract operation uses three fonts:
The base (...
4
votes
2
answers
102
views
In a grammar specification, how to exclude characters?
I want to specify in my grammar that an identifier could be any character except for a list of characters (that is have a deny list instead of the most common allow list).
I've seen the common ...
10
votes
4
answers
164
views
How do I write a spec for an existing language?
I have a working interpreter for my language Trilangle, and I have a decent but informal grasp of the language's semantics. Though I've alluded to undefined behavior and a difference between what the ...
4
votes
4
answers
173
views
How would I describe an expression seperately from a statement?
I have thought about how I could specify an expression separate from a statement.
A fragment of code that resolves to a value.
But void expressions are still ...