Team:Berkeley Software/Eugene Implementation
From 2009.igem.org
Adam z liu (Talk | contribs) |
Adam z liu (Talk | contribs) |
||
Line 21: | Line 21: | ||
<br><p style="text-align: right;">[[#contentMenu|back to Contents]]</p> | <br><p style="text-align: right;">[[#contentMenu|back to Contents]]</p> | ||
- | |||
<span id="Conclusions"><H3>Eugene Main File</H3></span> | <span id="Conclusions"><H3>Eugene Main File</H3></span> | ||
The main .eug file can include the header files, which need to be specified at the top: | The main .eug file can include the header files, which need to be specified at the top: |
Revision as of 21:13, 19 October 2009
Contents:
|
Implementation
Header File Creation
Header files give the language the functionality to access many already predefined Parts in the databases. For the purpose of convenient data exchange over the Internet, XML could be used to read information from a database. Then the data is converted into Eugene syntax to represent the header files. As a result the language definitions are not just abstract statements but are tied to existing designs. There are three main header files: PropertyDefintion.h, PartDefiniton.h and PartDeclaration.h shown in Figure 1.
Eugene Main File
The main .eug file can include the header files, which need to be specified at the top:
include PropertyDefintion.h, PartDefinition.h, PartDeclaration.h;
The main file will generally consist of custom Part definitions/declarations, device constructs, rule implementations and control statements.