-
Notifications
You must be signed in to change notification settings - Fork 1
Gramatica
Lucas de Macedo Terças edited this page Aug 17, 2017
·
15 revisions
- Start = {Media | Port | Context | Region | Link};
- Letras = "a" | "b" | "c" | ... | "z" | "A" | "B" | "C" | ... | "Z";
- Numeros = "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" ;
- Simbolos = "@" | "_" | "/" | "." | "%" | "," | "-";
- AlphaNumeric = {Letras | Numeros};
- AlphaNumericSymbols = {Letras | Numeros | Simbolos};
- String = '"' AlphaNumeric '"';
- Property = AlphaNumeric "=" String;
- Refer = "refer" "=" AlphaNumeric;
- Port = "port" AlphaNumeric AlphaNumeric;
- Region = "region" AlphaNumeric {Region | Property} "end";
- Media = "media" AlphaNumeric {Area | Refer | Property} "end";
- Area = "area" AlphaNumeric {Property} "end";
- Context = "context" AlphaNumeric {Port | Property | Media | Context | Link} "end";
-
Link = {Condition*} {Action} "end";
-
Condition = AlphaNumeric AlphaNumeric ("and" | "do");
-
Action = ActionMedia ActionParam "end";
-
ActionMedia = AlphaNumeric AlphaNumeric;
-
ActionParam = AlphaNumeric "=" String;
-
-
- Parte 1 - Mídia
- Parte 2 - Link
- Parte 3 - Region
- Parte 4 - Links e Regions
- Parte 5 - Context
- Parte 6 - Reúso de Mídias (Refer)
- Parte 7 - Interatividade
- Parte 8 - Múltiplos Dispositivos (RegionBases Diferentes)
- Parte 9 - Adaptação de Conteúdos (RuleBase e Switch)
- Parte 10 - Settings
- Parte 11 - Efeitos de Transição (TransitionBase)
- Parte 12 - Navegação por Teclas
- Parte 13 - NCLua
-