Category:LDraw Files Syntax: Difference between revisions

From LDraw.org Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 5: Line 5:
You can find the definition of that syntax at
You can find the definition of that syntax at


* http://www.ldraw.org/documentation/ldraw-org-file-format-standards.html
* https://www.ldraw.org/article/218.html


The syntax is taken care of by the [[LDraw Standards Board]].
The syntax is taken care of by the [[LDraw Standards Board]].
Line 16: Line 16:
** easy to store on source code revision control systems (like for example [[git]])
** easy to store on source code revision control systems (like for example [[git]])
* the syntax is quite compact:
* the syntax is quite compact:
** the most frequent elements can be written in simple, compact syntax, without lots of syntax clutter around it (as for example in [[XML]])
** the most frequent elements can be written in simple, compact syntax, without lots of syntax clutter around it (opposed to, for example, [[XML]])
* being UTF-8, the syntax easily supports all international characters, for example Danish ø, French é, German ö, Japanese, etc.pp.


== Disadvantages ==
== Disadvantages ==
Line 24: Line 25:
== See Also ==
== See Also ==


* [[:Category:File Format]]
* [[:Category:Software]]
* [[:Category:Software]]
[[Category:Main Index]]

Latest revision as of 10:46, 23 February 2019

LDRAW files need to have a specific syntax to be understood by the various tools.

The syntax has been invented by James Jessiman and carefully extended since then.

You can find the definition of that syntax at

The syntax is taken care of by the LDraw Standards Board.

Advantages

  • the syntax is text-based (not: binary), which makes it
    • easily human-readable
    • easily diffable by diff tools
    • easy to store on source code revision control systems (like for example git)
  • the syntax is quite compact:
    • the most frequent elements can be written in simple, compact syntax, without lots of syntax clutter around it (opposed to, for example, XML)
  • being UTF-8, the syntax easily supports all international characters, for example Danish ø, French é, German ö, Japanese, etc.pp.

Disadvantages

  • the syntax is "line-by-line based", this makes designing statements very difficult which aim to refer to a bunch of lines as a whole

See Also

Subcategories

This category has only the following subcategory.

Pages in category "LDraw Files Syntax"

The following 8 pages are in this category, out of 8 total.