mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 09:40:21 +00:00
Extended Backus–Naur form ([EBNF][]) is a metalanguage used to specify language grammars. [EBNF]: https://en.wikipedia.org/wiki/Extended_Backus–Naur_form
41 lines
583 B
EBNF
41 lines
583 B
EBNF
(*
|
|
Source: https://github.com/io7m/jsom0
|
|
License: ISC
|
|
*)
|
|
|
|
name =
|
|
"name" , string , ";" ;
|
|
|
|
diffuse =
|
|
"diffuse" , real , real , real , ";" ;
|
|
|
|
ambient =
|
|
"ambient" , real , real , real , ";" ;
|
|
|
|
specular =
|
|
"specular" , real , real , real , real , ";" ;
|
|
|
|
shininess =
|
|
"shininess" , real , ";" ;
|
|
|
|
alpha =
|
|
"alpha" , real , ";" ;
|
|
|
|
mapping =
|
|
"map_chrome" | "map_uv" ;
|
|
|
|
texture =
|
|
"texture" , string , real , mapping , ";" ;
|
|
|
|
material =
|
|
"material" , ";" ,
|
|
name ,
|
|
diffuse ,
|
|
ambient ,
|
|
specular ,
|
|
shininess ,
|
|
alpha ,
|
|
[ texture ] ,
|
|
"end" , ";" ;
|
|
|