Questions tagged [specification]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
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 (...
Bbrk24's user avatar
  • 8,563
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 ...
OscarRyz's user avatar
  • 199
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 ...
Bbrk24's user avatar
  • 8,563
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 ...
user16217248's user avatar
  • 7,285