Skip to main content

Questions tagged [specification]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
23 votes
3 answers

What is the difference between specification and a reference for programming languages?

Recently a team of Rust developers have started working on the Rust specification. This RFC 3355 introduced the proposal. My question is that basically what's the difference between a spec and a ...
Amir reza Riahi's user avatar
3 votes
1 answer

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,937
4 votes
2 answers

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

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,937
4 votes
4 answers

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 ...
CPlus's user avatar
  • 8,261