Last change
on this file since 57 was
26,
checked in by phdmakk, 14 years ago
|
+ initial testing examples for extension packages
|
File size:
640 bytes
|
Rev | Line | |
---|
[26] | 1 | module realtimer language "RT:2010" { |
---|
| 2 | //- once encountered, the corresponding features shall be enabled |
---|
| 3 | //so that the parsers accept the extensions |
---|
| 4 | //- at the end of the module it shall be deactivated again |
---|
| 5 | //- there should be a map of the modules and the corresponding languages? |
---|
| 6 | //- or perhaps the tree parsers can figure this out dynamically and also set |
---|
| 7 | //the parsing mode correctly (it already is in the parse tree) |
---|
| 8 | //- tags should be configurable? |
---|
| 9 | type port rtPort1 message realtime { |
---|
| 10 | inout integer; |
---|
| 11 | } |
---|
| 12 | |
---|
| 13 | // function f1(){ |
---|
| 14 | // var float myTimePoint := now; //should support keyword |
---|
| 15 | // wait(50); //should support keyword |
---|
| 16 | // } |
---|
| 17 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.