Comments (8)
For es-spec-emu, I assumed that the distinction between:
- "values" (
*x*
--><emu-val>x</emu-val>
) and - "spec-level constants" (
~x~
--><emu-const>x</emu-const>
)
was this: a "value" denotes a value in an 'ECMAScript language type', whereas a "spec-level constant" denotes a value in a 'specification type' (see http://www.ecma-international.org/ecma-262/6.0/#sec-ecmascript-data-types-and-values).
So:
*undefined* *null* *true* *false* *NaN* *TypeError* etc
vs
~empty~ ~throw~ ~failure~ ~lexicalBinding~ etc
However, there's one exception, *this*
, that doesn't really fit in either category, but is marked as if it's a "value".
from ecmarkdown.
I like your distinction jmdyck. I'm going to codify that in the Emu readme.
from ecmarkdown.
See here: http://bterlson.github.io/ecmarkup/#editorial-conventions. Thoughts?
from ecmarkdown.
Are we going to change strings from code to values?
An example for source code would be good. The spec uses it for talking about e.g. Function.prototype
and so on.
"Structuring your Ecmarkup Document" should lowercase document
Maybe put the Ecmarkdown column before the Ecmarkup column and name the Ecmarkup column "Ecmarkup Output"
from ecmarkdown.
I think strings and numbers should be treated identically. I think they are really values so I plan to use that convention going forward at least. Any concerns there?
Good call on the rest, will update it presently.
from ecmarkdown.
Not really, just will require some adjustment to existing specs and proposals. The line has always been fuzzy.
from ecmarkdown.
Updated. I leave it up to you whether you want to duplicate the same sort of info in this repo or close this issue :)
from ecmarkdown.
Close for now, if people keep getting it wrong we can ask them directly and see if this might help...
from ecmarkdown.
Related Issues (20)
- Make sure docs are consistent and complete HOT 1
- Link syntax HOT 3
- where does a segment end? HOT 19
- Tags not included in AST
- Fix parse error for dedenting lists
- ordered list (alg. fragment) begins with non-decimal item number HOT 4
- Blank line leads to blank section HOT 2
- __proto__ converts to <var></var>proto__ HOT 1
- Double-decoding issue leading to difficulty to output `<!` in emu-grammar HOT 3
- Documents hang forever if there is no newline at the end HOT 3
- Need an interactive demo page
- Add support for adding labels (ids) to steps HOT 4
- Consider dropping support for full documents HOT 2
- Handle CRLF HOT 3
- parabreak processing breaks spec rendering HOT 4
- Tag new Version HOT 2
- js-beautify is using old version causes error [simple fix] [pull request submited] HOT 10
- Re-tag new version HOT 7
- Fields and slots should be eligible for ecmarkup interactive highlighting
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ecmarkdown.