Team:Berkeley Software/Eugene Implementation
From 2009.igem.org
Adam z liu (Talk | contribs) |
Adam z liu (Talk | contribs) |
||
Line 2: | Line 2: | ||
<table align=center> | <table align=center> | ||
<tr> | <tr> | ||
- | <td>'''Contents | + | <td>'''<span id="contentMenu">Contents</span>''': |
<li>[[Team:Berkeley_Software/Eugene#Introduction|Introduction]] | <li>[[Team:Berkeley_Software/Eugene#Introduction|Introduction]] | ||
<li>[[Team:Berkeley_Software/Eugene#Language_Definition|Language Definition]] | <li>[[Team:Berkeley_Software/Eugene#Language_Definition|Language Definition]] | ||
Line 18: | Line 18: | ||
[[Image:Eugene_Overview.jpg|900px|thumb|center|<p style="text-align: center;"><font size = "2"><span style="font-family: Georgia, serif;">Figure 1: Eugene Flow Diagram</span></font></p>]]<br> | [[Image:Eugene_Overview.jpg|900px|thumb|center|<p style="text-align: center;"><font size = "2"><span style="font-family: Georgia, serif;">Figure 1: Eugene Flow Diagram</span></font></p>]]<br> | ||
<b><font size="3">Header File Creation</font></b><br> | <b><font size="3">Header File Creation</font></b><br> | ||
- | 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.<br>< | + | 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. |
+ | <br><p style="text-align: right;">[[#contentMenu|back to Contents]]</p> | ||
- | < | + | ----- |
+ | <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: | ||
<pre> | <pre> | ||
Line 26: | Line 28: | ||
</pre> | </pre> | ||
The main file will generally consist of custom [[Team:Berkeley_Software/Eugene#Part_Definition Part | Part definitions]]/[[Team:Berkeley_Software/Eugene#Part_Declaration |declarations]], [[Team:Berkeley_Software/Eugene#Devices| device constructs]], [[Team:Berkeley_Software/Eugene#Rules | rule implementations]] and [[Team:Berkeley_Software/Eugene#ConditionalSt| control statements]]. | The main file will generally consist of custom [[Team:Berkeley_Software/Eugene#Part_Definition Part | Part definitions]]/[[Team:Berkeley_Software/Eugene#Part_Declaration |declarations]], [[Team:Berkeley_Software/Eugene#Devices| device constructs]], [[Team:Berkeley_Software/Eugene#Rules | rule implementations]] and [[Team:Berkeley_Software/Eugene#ConditionalSt| control statements]]. | ||
+ | <br><p style="text-align: right;">[[#contentMenu|back to Contents]]</p> |
Revision as of 21:12, 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.