Difference between revisions of "Nodal syntax highlighting"
m (wrong link) |
m |
||
(8 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | |||
Rather than using a syntax highlighting library or creating a static nodal tree of rules, we intend | Rather than using a syntax highlighting library or creating a static nodal tree of rules, we intend | ||
− | to ''[[borgification|borgify]]'' the language syntaxes directly from the [[w:EBNF|EBNF]] descriptions which are almost universally used to describe computer language syntax for producing the compilers and interpreters used to execute them. | + | to ''[[borgification|borgify]]'' the language syntaxes directly from the [[w:EBNF|EBNF]] (see [[w:BNF|Backus–Naur form]]) descriptions which are almost universally used to describe computer language syntax for producing the compilers and interpreters used to execute them. |
Nodal parsing rules can then be maintained directly from the language definitions and then placed within simpler higher level rules within actual program code to allow for multipley embedded language scenarios. | Nodal parsing rules can then be maintained directly from the language definitions and then placed within simpler higher level rules within actual program code to allow for multipley embedded language scenarios. | ||
− | In the nodal model, this is used for more than just syntax highlighting, its used so that the development environment can make sensible associations to the various kinds of constructs involved, for example to allow function and method calls to link to their | + | In the nodal model, this is used for more than just syntax highlighting, its used so that the development environment can make sensible associations to the various kinds of constructs involved, for example to allow function and method calls to link to their implementations, and to associate them with related documentation and tools. |
+ | |||
+ | == See also == | ||
+ | *[[Wikipedia:Programming language]] | ||
+ | [[Category:Nodal Concepts|Syntax]] |
Latest revision as of 08:55, 22 July 2011
Rather than using a syntax highlighting library or creating a static nodal tree of rules, we intend to borgify the language syntaxes directly from the EBNF (see Backus–Naur form) descriptions which are almost universally used to describe computer language syntax for producing the compilers and interpreters used to execute them.
Nodal parsing rules can then be maintained directly from the language definitions and then placed within simpler higher level rules within actual program code to allow for multipley embedded language scenarios.
In the nodal model, this is used for more than just syntax highlighting, its used so that the development environment can make sensible associations to the various kinds of constructs involved, for example to allow function and method calls to link to their implementations, and to associate them with related documentation and tools.