Difference between revisions of "Nodal syntax highlighting"

From Organic Design wiki
m
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Category:Nodal Concepts]]
 
 
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]] (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.
 
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.
Line 5: Line 4:
 
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 implimentations, and to associate them with related documentation and tools.
+
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 ==
;See also
+
*[[Wikipedia:Programming language]]
*[[w: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.

See also