Presentation is loading. Please wait.

Presentation is loading. Please wait.

TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: AA A AAAA A A AA A A A AA A AA A A.

Similar presentations


Presentation on theme: "TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: AA A AAAA A A AA A A A AA A AA A A."— Presentation transcript:

1 TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: AA A AAAA A A AA A A A AA A AA A A

2 2

3 Scanner (Lexical Analysis) Parser and Semantic Checks 3 Context-free grammars + actions/attributes (yacc, bison, Polyglot, JastAdd,...) Regular Expressions + State (flex, jflex,...)

4 4 Lexical specification for original language Grammar and actions for original language Modified lexical specification for extended language Grammar and actions for original language Grammar rules for extension

5 5 Lexical specification for original language Grammar and actions for original language Lexical specification for original language Grammar and actions for original language Grammar rules for extension Lexical rules for extension

6 6 Java + HTML Java + Aspects (AspectJ) Java + SQL MATLAB + Aspects (AspectMatlab)

7 7 Nested C-style comments Javadoc comments Floating-point constants URL regular expressions …

8 8

9 9

10 10 programmer specifies regular expressions + actions tools generate a finite automaton- based implementation states are used to handle different language contexts

11 11

12 12

13 13 Specification in one file.

14 14 Each component specified in its own file. Layout specified in its own file.

15 15

16 16

17 17

18 18 Properties KeyValue Util_Patterns

19 19

20 20

21 21

22 22

23 23 properties.mll key.mlc value.mlc util_patterns.mlc MetaLexer properties.jflex

24 24

25 25

26 26

27 27

28 28

29 O 29 Original Component New Component adds some rules and inherits original component. Woven output

30 30

31 31 AspectJ and Extensions

32 32 PLDI 2011 Tutorial on McLab!!!!!

33 33

34 34

35 35


Download ppt "TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: AA A AAAA A A AA A A A AA A AA A A."

Similar presentations


Ads by Google