SlideShare une entreprise Scribd logo
1  sur  6
Télécharger pour lire hors ligne
XML Model (Draft 7)

ALPHA Script - XML Model has to be well defined and self explained. It is important to try to
generate a lightweight XML schema for easy and fast parsing.


XML Model (Schema)
<?xml version="1.0" encoding="UTF­8"?>
<program name="[File name]">
[XML CODE]
</program>



Code Sections
   1. Definitions
       <definitions>
          <definition id="def_num">
             …
          </definition>
       </definitions>

   2. Code Blocks
       <code_blocks>
          <code_block id="code_block_num">
             …
          </code_block>
       </code_blocks>

   3. Base
       <base>
          …
       </base

In the XML schema any "code" element in the above sections must have a unique ID.


References & Values
In the XML the references are marked with "@" and the values are marked with "$". 
The   references   return   an   expression   for   processing   while   the   values   return   a 
result. These two symbols can be used anywhere in the XML but a few options among 
the elements such as "expression", "args" and "execute" do not need them.
ALPHA Script XML equivalent tags for each category of keywords.


General Rule
<code id="[Unique ID]" keyword="[KEY]" {[arg 1]="[val 1]"}…/>



Boolean
      1.         <code id="code_id" keyword="and" arg_1="val_1" arg_2="val_2"/>
      2.         <code id="code_id" keyword="not" arg_1="val_1" arg_2="val_2"/>
      3.         <code id="code_id" keyword="or" arg_1="val_1" arg_2="val_2"/>
      4.         <code id="code_id" keyword="xor" arg_1="val_1" arg_2="val_2"/>
      5.         <code id="code_id" keyword="true" arg_1="val_1" arg_2="val_2"/>
      6.         <code id="code_id" keyword="false" arg_1="val_1" arg_2="val_2"/>



Bit
      1.         <code id="code_id" keyword="shift" 
                       direction="left or right" bits="num"/>



Control
      1.       <code id="code_id" keyword="if" 
                     expression="def_num" execute="code_block_num"/>
      2.       <code id="code_id" keyword="else"/>
      3.       <code id="code_id" keyword="while" 
                     expression="def_num" execute="code_block_num"/>
      4.       <code id="code_id" keyword="break"/>
      5.       <code id="code_id" keyword="continue"/>
      6.       <code id="code_id" keyword="try" execute="code_block_num"/>
      7.       <code id="code_id" keyword="catch" execute="code_block_num"/>
      8.       <code id="code_id" keyword="exit" value="val"/>
      9.       <code id="code_id" keyword="input" input="in" value="val"/>
      10.      <code id="code_id" keyword="output" output="out" value="val"/>
      11.      <code id="code_id" keyword="set" {class="class_name"} 
                     var="var_name or array_name" 
                     {index="num"} value="val"/>
      12.      <code id="code_id" keyword="call" 
                     {class="class_name"} function="func_name or method_name" 
                     {args="def_num"} result="var_name or array_name"/>
      13.      <code id="code_id" keyword="loop" iterations="val" 
                     {step="val"} execute="code_block_num"/>
      14.      <code id="code_id" keyword="counter"/>



Results
           1.    <code id="code_id" keyword="return" value="val"/>
Declarations
   1.          <code id="code_id" keyword="alias" key="keyword" alias="alias"/>
   2.          <code id="code_id" keyword="directive" value="val"/>
   3.          <code id="code_id" keyword="var" action="declare" 
                     scope="global, local or public, private" name="var_name"/>
   4.          <code id="code_id" keyword="array" action="declare" 
                     scope="global, local or public, private" name="array_name"/>



Var & Array Usage
   1.          <code id="code_id" keyword="var" {class="class_name"} 
                     name="var_name" action="use" function="func_name" 
                     {option="opt"} {value="val"}/>
   2.          <code id="code_id" keyword="array" {class="class_name"}
                     name="array_name" action="use" function="func_name" 
                     {index="num"} {option="opt"} {value="val"}/>



Structure
   1.          <code id="code_id" keyword="package" name="package_name"/>
   2.          <code id="code_id" keyword="use" package="package_name"/>
   3.          <code_block>  (BEGIN)
   4.          </code_block> (END)



Class
   1.          <code id="code_id" keyword="class" class="class_name" 
                     type="dynamic or static" execute="code_block_num"/>



Function
   1.          <code id="code_id" keyword="function" function="func_name" 
                     {args="def_num"} execute="code_block_num" result="var_name"/>



Method
   1.          <code id="code_id" keyword="method" method="method_name" 
                     {args="def_num"} scope="public or private" 
                     execute="code_block_num" {result="var_name"}/>



Errors & Exceptions
   1.          <code id="code_id" keyword="debug"/>
Utilities
   1.        <code id="code_id" keyword="db" function="func_name" 
                   {option="opt"} {args="def_num"} result="var_name"/>
   2.        <code id="code_id" keyword="net" function="func_name" 
                   {option="opt"} {args="def_num"} result="var_name"/>
   3.        <code id="code_id" keyword="file" function="func_name" 
                   {option="opt"} {args="def_num"} result="var_name"/>
   4.        <code id="code_id" keyword="security" function="func_name"
                   {option="opt"} {args="def_num"} result="var_name"/>
   5.        <code id="code_id" keyword="graphics" function="func_name"
                   {option="opt"} {args="def_num"} result="var_name"/>
   6.        <code id="code_id" keyword="sound" function="func_name" 
                   {option="opt"} {args="def_num"} result="var_name"/>
   7.        <code id="code_id" keyword="system" function="func_name"
                   {option="opt"} {args="def_num"} result="var_name"/>
   8.        <code id="code_id" keyword="virtual" action="declare"
                   interface="int_name" result="var_name"/>



Virtual Interface Usage
   1.        <code id="code_id" keyword="virtual" action="use" 
                   interface="int_name" function="func_name" 
                   {option="opt"} {args="def_num"} result="var_name"/>



Argument
   1.        <code id="code_id" keyword="argument" action="declare" value="val"/>



Argument Usage
   1.        <code id="code_id" keyword="argument" 
                   action="use" name="arg_name" value="val"/>



Show
   1.        <code id="code_id" keyword="print" value="val" output="out"/>
ALPHA Script XML equivalent tags for each category of symbols.


General Rule
<code id="[Unique ID]" symbol="[SYMBOL]" {[arg 1]="[val 1]" [arg 2]="[val 2]}"/>



Mathematics
   1.          <code id="code_id" symbol="+" arg_1="val_1" arg_2="val_2"/>
   2.          <code id="code_id" symbol="­" arg_1="val_1" arg_2="val_2"/>
   3.          <code id="code_id" symbol="*" arg_1="val_1" arg_2="val_2"/>
   4.          <code id="code_id" symbol="/" arg_1="val_1" arg_2="val_2"/>
   5.          <code id="code_id" symbol="%" arg_1="val_1" arg_2="val_2"/>



Comparisons
   1.          <code id="code_id" symbol="=" arg_1="val_1" arg_2="val_2"/>
   2.          <code id="code_id" symbol=">" arg_1="val_1" arg_2="val_2"/>
   3.          <code id="code_id" symbol="<" arg_1="val_1" arg_2="val_2"/>
   4.          <code id="code_id" symbol="!" arg_1="val_1" arg_2="val_2"/>



Parentheses
   1.          <code id="code_id" symbol="("/>
   2.          <code id="code_id" symbol=")"/>


Delimiters
   1.          <code id="code_id" symbol=","/>
ALPHA Script XML equivalent tags of ALPHA Script tags for embedding in HTML 4/5.


General Rule
<code id="code_id" keyword="as_tags"/> ­ Put code in ALPHA Script tags (<@ … @>)




George Delaportas (G0D)
---
CEO & Founder of localhost Ltd.
Informatics & Computer Engineer
MSc in Data Communications & Networking
PhD in Digital Forensics

Contenu connexe

Tendances

Introduction to Active Record - Silicon Valley Ruby Conference 2007
Introduction to Active Record - Silicon Valley Ruby Conference 2007Introduction to Active Record - Silicon Valley Ruby Conference 2007
Introduction to Active Record - Silicon Valley Ruby Conference 2007Rabble .
 
Hacking Your Way To Better Security - Dutch PHP Conference 2016
Hacking Your Way To Better Security - Dutch PHP Conference 2016Hacking Your Way To Better Security - Dutch PHP Conference 2016
Hacking Your Way To Better Security - Dutch PHP Conference 2016Colin O'Dell
 
12-security.ppt - PHP and Arabic Language - Index
12-security.ppt - PHP and Arabic Language - Index12-security.ppt - PHP and Arabic Language - Index
12-security.ppt - PHP and Arabic Language - Indexwebhostingguy
 
Implementation of EAV pattern for ActiveRecord models
Implementation of EAV pattern for ActiveRecord modelsImplementation of EAV pattern for ActiveRecord models
Implementation of EAV pattern for ActiveRecord modelsKostyantyn Stepanyuk
 
EAV Sytem- Magento EAV Model
EAV Sytem- Magento EAV ModelEAV Sytem- Magento EAV Model
EAV Sytem- Magento EAV ModelKhoa Truong Dinh
 
Variables, expressions, standard types
 Variables, expressions, standard types  Variables, expressions, standard types
Variables, expressions, standard types Rubizza
 
Form demoinplaywithmysql
Form demoinplaywithmysqlForm demoinplaywithmysql
Form demoinplaywithmysqlKnoldus Inc.
 
Understanding
Understanding Understanding
Understanding Arun Gupta
 
Secrets of JavaScript Libraries
Secrets of JavaScript LibrariesSecrets of JavaScript Libraries
Secrets of JavaScript Librariesjeresig
 
Powerful Generic Patterns With Django
Powerful Generic Patterns With DjangoPowerful Generic Patterns With Django
Powerful Generic Patterns With DjangoEric Satterwhite
 
Coding for Scale and Sanity
Coding for Scale and SanityCoding for Scale and Sanity
Coding for Scale and SanityJimKellerES
 
50 Laravel Tricks in 50 Minutes
50 Laravel Tricks in 50 Minutes50 Laravel Tricks in 50 Minutes
50 Laravel Tricks in 50 MinutesAzim Kurt
 
DJango admin interface
DJango admin interfaceDJango admin interface
DJango admin interfaceMahesh Shitole
 

Tendances (15)

Introduction to Active Record - Silicon Valley Ruby Conference 2007
Introduction to Active Record - Silicon Valley Ruby Conference 2007Introduction to Active Record - Silicon Valley Ruby Conference 2007
Introduction to Active Record - Silicon Valley Ruby Conference 2007
 
Hacking Your Way To Better Security - Dutch PHP Conference 2016
Hacking Your Way To Better Security - Dutch PHP Conference 2016Hacking Your Way To Better Security - Dutch PHP Conference 2016
Hacking Your Way To Better Security - Dutch PHP Conference 2016
 
Security.ppt
Security.pptSecurity.ppt
Security.ppt
 
12-security.ppt - PHP and Arabic Language - Index
12-security.ppt - PHP and Arabic Language - Index12-security.ppt - PHP and Arabic Language - Index
12-security.ppt - PHP and Arabic Language - Index
 
Implementation of EAV pattern for ActiveRecord models
Implementation of EAV pattern for ActiveRecord modelsImplementation of EAV pattern for ActiveRecord models
Implementation of EAV pattern for ActiveRecord models
 
EAV Sytem- Magento EAV Model
EAV Sytem- Magento EAV ModelEAV Sytem- Magento EAV Model
EAV Sytem- Magento EAV Model
 
Java Script
Java ScriptJava Script
Java Script
 
Variables, expressions, standard types
 Variables, expressions, standard types  Variables, expressions, standard types
Variables, expressions, standard types
 
Form demoinplaywithmysql
Form demoinplaywithmysqlForm demoinplaywithmysql
Form demoinplaywithmysql
 
Understanding
Understanding Understanding
Understanding
 
Secrets of JavaScript Libraries
Secrets of JavaScript LibrariesSecrets of JavaScript Libraries
Secrets of JavaScript Libraries
 
Powerful Generic Patterns With Django
Powerful Generic Patterns With DjangoPowerful Generic Patterns With Django
Powerful Generic Patterns With Django
 
Coding for Scale and Sanity
Coding for Scale and SanityCoding for Scale and Sanity
Coding for Scale and Sanity
 
50 Laravel Tricks in 50 Minutes
50 Laravel Tricks in 50 Minutes50 Laravel Tricks in 50 Minutes
50 Laravel Tricks in 50 Minutes
 
DJango admin interface
DJango admin interfaceDJango admin interface
DJango admin interface
 

En vedette

SECURICON - February 2016
SECURICON - February 2016SECURICON - February 2016
SECURICON - February 2016PROBOTEK
 
Analysis on Common Network Attacks & Vulnerability Scanners
Analysis on Common Network Attacks & Vulnerability ScannersAnalysis on Common Network Attacks & Vulnerability Scanners
Analysis on Common Network Attacks & Vulnerability ScannersPROBOTEK
 
xDSL Signal Encoding Efficiency
xDSL Signal Encoding EfficiencyxDSL Signal Encoding Efficiency
xDSL Signal Encoding EfficiencyPROBOTEK
 
Hash box - Outline Presentation
Hash box - Outline PresentationHash box - Outline Presentation
Hash box - Outline PresentationPROBOTEK
 
Kingston University Thesis - Design and Implementation of a Secure Web Applic...
Kingston University Thesis - Design and Implementation of a Secure Web Applic...Kingston University Thesis - Design and Implementation of a Secure Web Applic...
Kingston University Thesis - Design and Implementation of a Secure Web Applic...PROBOTEK
 
SECURICON - September 14
SECURICON - September 14SECURICON - September 14
SECURICON - September 14PROBOTEK
 

En vedette (6)

SECURICON - February 2016
SECURICON - February 2016SECURICON - February 2016
SECURICON - February 2016
 
Analysis on Common Network Attacks & Vulnerability Scanners
Analysis on Common Network Attacks & Vulnerability ScannersAnalysis on Common Network Attacks & Vulnerability Scanners
Analysis on Common Network Attacks & Vulnerability Scanners
 
xDSL Signal Encoding Efficiency
xDSL Signal Encoding EfficiencyxDSL Signal Encoding Efficiency
xDSL Signal Encoding Efficiency
 
Hash box - Outline Presentation
Hash box - Outline PresentationHash box - Outline Presentation
Hash box - Outline Presentation
 
Kingston University Thesis - Design and Implementation of a Secure Web Applic...
Kingston University Thesis - Design and Implementation of a Secure Web Applic...Kingston University Thesis - Design and Implementation of a Secure Web Applic...
Kingston University Thesis - Design and Implementation of a Secure Web Applic...
 
SECURICON - September 14
SECURICON - September 14SECURICON - September 14
SECURICON - September 14
 

Similaire à ALPHA Script - XML Model

AngularJS Directives
AngularJS DirectivesAngularJS Directives
AngularJS DirectivesEyal Vardi
 
Oop2010 Scala Presentation Stal
Oop2010 Scala Presentation StalOop2010 Scala Presentation Stal
Oop2010 Scala Presentation StalMichael Stal
 
Bring the fun back to java
Bring the fun back to javaBring the fun back to java
Bring the fun back to javaciklum_ods
 
AEM Sightly Template Language
AEM Sightly Template LanguageAEM Sightly Template Language
AEM Sightly Template LanguageGabriel Walt
 
jQuery: Tips, tricks and hints for better development and Performance
jQuery: Tips, tricks and hints for better development and PerformancejQuery: Tips, tricks and hints for better development and Performance
jQuery: Tips, tricks and hints for better development and PerformanceJonas De Smet
 
Private slideshow
Private slideshowPrivate slideshow
Private slideshowsblackman
 
GDI Seattle - Intro to JavaScript Class 4
GDI Seattle - Intro to JavaScript Class 4GDI Seattle - Intro to JavaScript Class 4
GDI Seattle - Intro to JavaScript Class 4Heather Rock
 
Practical JavaScript Programming - Session 1/8
Practical JavaScript Programming - Session 1/8Practical JavaScript Programming - Session 1/8
Practical JavaScript Programming - Session 1/8Wilson Su
 
JavaScript Basics - GameCraft Training
JavaScript Basics - GameCraft TrainingJavaScript Basics - GameCraft Training
JavaScript Basics - GameCraft TrainingRadoslav Georgiev
 
ONE MORE TIME ABOUT CODE STANDARDS AND BEST PRACTICES
ONE MORE TIME ABOUT CODE STANDARDS AND BEST PRACTICESONE MORE TIME ABOUT CODE STANDARDS AND BEST PRACTICES
ONE MORE TIME ABOUT CODE STANDARDS AND BEST PRACTICESDrupalCamp Kyiv
 
Let's write secure Drupal code! - DrupalCamp London 2019
Let's write secure Drupal code! - DrupalCamp London 2019Let's write secure Drupal code! - DrupalCamp London 2019
Let's write secure Drupal code! - DrupalCamp London 2019Balázs Tatár
 
Develop your next app with kotlin @ AndroidMakersFr 2017
Develop your next app with kotlin @ AndroidMakersFr 2017Develop your next app with kotlin @ AndroidMakersFr 2017
Develop your next app with kotlin @ AndroidMakersFr 2017Arnaud Giuliani
 
JavaScript and UI Architecture Best Practices
JavaScript and UI Architecture Best PracticesJavaScript and UI Architecture Best Practices
JavaScript and UI Architecture Best PracticesSiarhei Barysiuk
 
Art of Javascript
Art of JavascriptArt of Javascript
Art of JavascriptTarek Yehia
 
WebNet Conference 2012 - Designing complex applications using html5 and knock...
WebNet Conference 2012 - Designing complex applications using html5 and knock...WebNet Conference 2012 - Designing complex applications using html5 and knock...
WebNet Conference 2012 - Designing complex applications using html5 and knock...Fabio Franzini
 

Similaire à ALPHA Script - XML Model (20)

jQuery introduction
jQuery introductionjQuery introduction
jQuery introduction
 
AngularJS Directives
AngularJS DirectivesAngularJS Directives
AngularJS Directives
 
Oop2010 Scala Presentation Stal
Oop2010 Scala Presentation StalOop2010 Scala Presentation Stal
Oop2010 Scala Presentation Stal
 
Bring the fun back to java
Bring the fun back to javaBring the fun back to java
Bring the fun back to java
 
Broadleaf Presents Thymeleaf
Broadleaf Presents ThymeleafBroadleaf Presents Thymeleaf
Broadleaf Presents Thymeleaf
 
AEM Sightly Template Language
AEM Sightly Template LanguageAEM Sightly Template Language
AEM Sightly Template Language
 
jQuery: Tips, tricks and hints for better development and Performance
jQuery: Tips, tricks and hints for better development and PerformancejQuery: Tips, tricks and hints for better development and Performance
jQuery: Tips, tricks and hints for better development and Performance
 
Private slideshow
Private slideshowPrivate slideshow
Private slideshow
 
GDI Seattle - Intro to JavaScript Class 4
GDI Seattle - Intro to JavaScript Class 4GDI Seattle - Intro to JavaScript Class 4
GDI Seattle - Intro to JavaScript Class 4
 
Wt unit 2 ppts client sied technology
Wt unit 2 ppts client sied technologyWt unit 2 ppts client sied technology
Wt unit 2 ppts client sied technology
 
Wt unit 2 ppts client side technology
Wt unit 2 ppts client side technologyWt unit 2 ppts client side technology
Wt unit 2 ppts client side technology
 
Java script
Java scriptJava script
Java script
 
Practical JavaScript Programming - Session 1/8
Practical JavaScript Programming - Session 1/8Practical JavaScript Programming - Session 1/8
Practical JavaScript Programming - Session 1/8
 
JavaScript Basics - GameCraft Training
JavaScript Basics - GameCraft TrainingJavaScript Basics - GameCraft Training
JavaScript Basics - GameCraft Training
 
ONE MORE TIME ABOUT CODE STANDARDS AND BEST PRACTICES
ONE MORE TIME ABOUT CODE STANDARDS AND BEST PRACTICESONE MORE TIME ABOUT CODE STANDARDS AND BEST PRACTICES
ONE MORE TIME ABOUT CODE STANDARDS AND BEST PRACTICES
 
Let's write secure Drupal code! - DrupalCamp London 2019
Let's write secure Drupal code! - DrupalCamp London 2019Let's write secure Drupal code! - DrupalCamp London 2019
Let's write secure Drupal code! - DrupalCamp London 2019
 
Develop your next app with kotlin @ AndroidMakersFr 2017
Develop your next app with kotlin @ AndroidMakersFr 2017Develop your next app with kotlin @ AndroidMakersFr 2017
Develop your next app with kotlin @ AndroidMakersFr 2017
 
JavaScript and UI Architecture Best Practices
JavaScript and UI Architecture Best PracticesJavaScript and UI Architecture Best Practices
JavaScript and UI Architecture Best Practices
 
Art of Javascript
Art of JavascriptArt of Javascript
Art of Javascript
 
WebNet Conference 2012 - Designing complex applications using html5 and knock...
WebNet Conference 2012 - Designing complex applications using html5 and knock...WebNet Conference 2012 - Designing complex applications using html5 and knock...
WebNet Conference 2012 - Designing complex applications using html5 and knock...
 

Plus de PROBOTEK

AiRFLOW - Drone Services Platform
AiRFLOW - Drone Services PlatformAiRFLOW - Drone Services Platform
AiRFLOW - Drone Services PlatformPROBOTEK
 
PROBOTEK - Profile
PROBOTEK - ProfilePROBOTEK - Profile
PROBOTEK - ProfilePROBOTEK
 
ProboTEK - Gray Mantis (Security Drone System)
ProboTEK - Gray Mantis (Security Drone System)ProboTEK - Gray Mantis (Security Drone System)
ProboTEK - Gray Mantis (Security Drone System)PROBOTEK
 
ProboTEK - Fire Guardian (Powered by AiRFLOW)
ProboTEK - Fire Guardian (Powered by AiRFLOW)ProboTEK - Fire Guardian (Powered by AiRFLOW)
ProboTEK - Fire Guardian (Powered by AiRFLOW)PROBOTEK
 
ProboTEK - Vitrina Store
ProboTEK - Vitrina StoreProboTEK - Vitrina Store
ProboTEK - Vitrina StorePROBOTEK
 
Shoprise Me! - Presentation
Shoprise Me! - PresentationShoprise Me! - Presentation
Shoprise Me! - PresentationPROBOTEK
 
ConnectiKR0N - Presentation for LiDAR
ConnectiKR0N - Presentation for LiDARConnectiKR0N - Presentation for LiDAR
ConnectiKR0N - Presentation for LiDARPROBOTEK
 
ConnectiKR0N - Presentation
ConnectiKR0N - PresentationConnectiKR0N - Presentation
ConnectiKR0N - PresentationPROBOTEK
 
AiRagroTEK.net - Presentation
AiRagroTEK.net - PresentationAiRagroTEK.net - Presentation
AiRagroTEK.net - PresentationPROBOTEK
 
HASH-box - Business Plan Presentation
HASH-box - Business Plan PresentationHASH-box - Business Plan Presentation
HASH-box - Business Plan PresentationPROBOTEK
 
George Delaportas - VEDICOR (Hacking CV)
George Delaportas - VEDICOR (Hacking CV)George Delaportas - VEDICOR (Hacking CV)
George Delaportas - VEDICOR (Hacking CV)PROBOTEK
 
G.A.N.N - Documentation
G.A.N.N - DocumentationG.A.N.N - Documentation
G.A.N.N - DocumentationPROBOTEK
 
Z0C (Pitch Deck)
Z0C (Pitch Deck)Z0C (Pitch Deck)
Z0C (Pitch Deck)PROBOTEK
 
Z0C in the Insurance Market
Z0C in the Insurance MarketZ0C in the Insurance Market
Z0C in the Insurance MarketPROBOTEK
 
Z0C - Presentation (EN)
Z0C - Presentation (EN)Z0C - Presentation (EN)
Z0C - Presentation (EN)PROBOTEK
 
ALPHA Script - Ignite Athens 2012
ALPHA Script - Ignite Athens 2012ALPHA Script - Ignite Athens 2012
ALPHA Script - Ignite Athens 2012PROBOTEK
 
Specter - AAL
Specter - AALSpecter - AAL
Specter - AALPROBOTEK
 
SECURICON - Hackers and Network Security
SECURICON - Hackers and Network SecuritySECURICON - Hackers and Network Security
SECURICON - Hackers and Network SecurityPROBOTEK
 
COSMOS - DNAi
COSMOS - DNAiCOSMOS - DNAi
COSMOS - DNAiPROBOTEK
 

Plus de PROBOTEK (20)

AiRFLOW - Drone Services Platform
AiRFLOW - Drone Services PlatformAiRFLOW - Drone Services Platform
AiRFLOW - Drone Services Platform
 
PROBOTEK - Profile
PROBOTEK - ProfilePROBOTEK - Profile
PROBOTEK - Profile
 
ProboTEK - Gray Mantis (Security Drone System)
ProboTEK - Gray Mantis (Security Drone System)ProboTEK - Gray Mantis (Security Drone System)
ProboTEK - Gray Mantis (Security Drone System)
 
ProboTEK - Fire Guardian (Powered by AiRFLOW)
ProboTEK - Fire Guardian (Powered by AiRFLOW)ProboTEK - Fire Guardian (Powered by AiRFLOW)
ProboTEK - Fire Guardian (Powered by AiRFLOW)
 
ProboTEK - Vitrina Store
ProboTEK - Vitrina StoreProboTEK - Vitrina Store
ProboTEK - Vitrina Store
 
Shoprise Me! - Presentation
Shoprise Me! - PresentationShoprise Me! - Presentation
Shoprise Me! - Presentation
 
ConnectiKR0N - Presentation for LiDAR
ConnectiKR0N - Presentation for LiDARConnectiKR0N - Presentation for LiDAR
ConnectiKR0N - Presentation for LiDAR
 
ConnectiKR0N - Presentation
ConnectiKR0N - PresentationConnectiKR0N - Presentation
ConnectiKR0N - Presentation
 
AiRagroTEK.net - Presentation
AiRagroTEK.net - PresentationAiRagroTEK.net - Presentation
AiRagroTEK.net - Presentation
 
HASH-box - Business Plan Presentation
HASH-box - Business Plan PresentationHASH-box - Business Plan Presentation
HASH-box - Business Plan Presentation
 
George Delaportas - VEDICOR (Hacking CV)
George Delaportas - VEDICOR (Hacking CV)George Delaportas - VEDICOR (Hacking CV)
George Delaportas - VEDICOR (Hacking CV)
 
G.A.N.N - Documentation
G.A.N.N - DocumentationG.A.N.N - Documentation
G.A.N.N - Documentation
 
Z0C (Pitch Deck)
Z0C (Pitch Deck)Z0C (Pitch Deck)
Z0C (Pitch Deck)
 
Z0C in the Insurance Market
Z0C in the Insurance MarketZ0C in the Insurance Market
Z0C in the Insurance Market
 
Z0C - Presentation (EN)
Z0C - Presentation (EN)Z0C - Presentation (EN)
Z0C - Presentation (EN)
 
iVSwap
iVSwapiVSwap
iVSwap
 
ALPHA Script - Ignite Athens 2012
ALPHA Script - Ignite Athens 2012ALPHA Script - Ignite Athens 2012
ALPHA Script - Ignite Athens 2012
 
Specter - AAL
Specter - AALSpecter - AAL
Specter - AAL
 
SECURICON - Hackers and Network Security
SECURICON - Hackers and Network SecuritySECURICON - Hackers and Network Security
SECURICON - Hackers and Network Security
 
COSMOS - DNAi
COSMOS - DNAiCOSMOS - DNAi
COSMOS - DNAi
 

Dernier

Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWERMadyBayot
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontologyjohnbeverley2021
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...Zilliz
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDropbox
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...apidays
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Jeffrey Haguewood
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Zilliz
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Bhuvaneswari Subramani
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdfSandro Moreira
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxRustici Software
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Victor Rentea
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamUiPathCommunity
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Victor Rentea
 

Dernier (20)

Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 

ALPHA Script - XML Model

  • 1. XML Model (Draft 7) ALPHA Script - XML Model has to be well defined and self explained. It is important to try to generate a lightweight XML schema for easy and fast parsing. XML Model (Schema) <?xml version="1.0" encoding="UTF­8"?> <program name="[File name]"> [XML CODE] </program> Code Sections 1. Definitions <definitions> <definition id="def_num"> … </definition> </definitions> 2. Code Blocks <code_blocks> <code_block id="code_block_num"> … </code_block> </code_blocks> 3. Base <base> … </base In the XML schema any "code" element in the above sections must have a unique ID. References & Values In the XML the references are marked with "@" and the values are marked with "$".  The   references   return   an   expression   for   processing   while   the   values   return   a  result. These two symbols can be used anywhere in the XML but a few options among  the elements such as "expression", "args" and "execute" do not need them.
  • 2. ALPHA Script XML equivalent tags for each category of keywords. General Rule <code id="[Unique ID]" keyword="[KEY]" {[arg 1]="[val 1]"}…/> Boolean 1.   <code id="code_id" keyword="and" arg_1="val_1" arg_2="val_2"/> 2.   <code id="code_id" keyword="not" arg_1="val_1" arg_2="val_2"/> 3.   <code id="code_id" keyword="or" arg_1="val_1" arg_2="val_2"/> 4.   <code id="code_id" keyword="xor" arg_1="val_1" arg_2="val_2"/> 5.   <code id="code_id" keyword="true" arg_1="val_1" arg_2="val_2"/> 6.   <code id="code_id" keyword="false" arg_1="val_1" arg_2="val_2"/> Bit 1.   <code id="code_id" keyword="shift"  direction="left or right" bits="num"/> Control 1.       <code id="code_id" keyword="if"  expression="def_num" execute="code_block_num"/> 2.       <code id="code_id" keyword="else"/> 3.       <code id="code_id" keyword="while"  expression="def_num" execute="code_block_num"/> 4.       <code id="code_id" keyword="break"/> 5.       <code id="code_id" keyword="continue"/> 6.       <code id="code_id" keyword="try" execute="code_block_num"/> 7.       <code id="code_id" keyword="catch" execute="code_block_num"/> 8.       <code id="code_id" keyword="exit" value="val"/> 9.       <code id="code_id" keyword="input" input="in" value="val"/> 10. <code id="code_id" keyword="output" output="out" value="val"/> 11. <code id="code_id" keyword="set" {class="class_name"}  var="var_name or array_name"  {index="num"} value="val"/> 12. <code id="code_id" keyword="call"  {class="class_name"} function="func_name or method_name"    {args="def_num"} result="var_name or array_name"/> 13. <code id="code_id" keyword="loop" iterations="val"     {step="val"} execute="code_block_num"/> 14. <code id="code_id" keyword="counter"/> Results 1.  <code id="code_id" keyword="return" value="val"/>
  • 3. Declarations 1.   <code id="code_id" keyword="alias" key="keyword" alias="alias"/> 2.   <code id="code_id" keyword="directive" value="val"/> 3.   <code id="code_id" keyword="var" action="declare"  scope="global, local or public, private" name="var_name"/> 4.   <code id="code_id" keyword="array" action="declare"  scope="global, local or public, private" name="array_name"/> Var & Array Usage 1.   <code id="code_id" keyword="var" {class="class_name"}  name="var_name" action="use" function="func_name"  {option="opt"} {value="val"}/> 2.   <code id="code_id" keyword="array" {class="class_name"}   name="array_name" action="use" function="func_name"  {index="num"} {option="opt"} {value="val"}/> Structure 1.   <code id="code_id" keyword="package" name="package_name"/> 2.   <code id="code_id" keyword="use" package="package_name"/> 3.   <code_block>  (BEGIN) 4.   </code_block> (END) Class 1.   <code id="code_id" keyword="class" class="class_name"  type="dynamic or static" execute="code_block_num"/> Function 1.   <code id="code_id" keyword="function" function="func_name"  {args="def_num"} execute="code_block_num" result="var_name"/> Method 1.   <code id="code_id" keyword="method" method="method_name"  {args="def_num"} scope="public or private"  execute="code_block_num" {result="var_name"}/> Errors & Exceptions 1.   <code id="code_id" keyword="debug"/>
  • 4. Utilities 1.   <code id="code_id" keyword="db" function="func_name"  {option="opt"} {args="def_num"} result="var_name"/> 2.   <code id="code_id" keyword="net" function="func_name"  {option="opt"} {args="def_num"} result="var_name"/> 3.   <code id="code_id" keyword="file" function="func_name"  {option="opt"} {args="def_num"} result="var_name"/> 4.   <code id="code_id" keyword="security" function="func_name"   {option="opt"} {args="def_num"} result="var_name"/> 5.   <code id="code_id" keyword="graphics" function="func_name"   {option="opt"} {args="def_num"} result="var_name"/> 6.   <code id="code_id" keyword="sound" function="func_name"  {option="opt"} {args="def_num"} result="var_name"/> 7.   <code id="code_id" keyword="system" function="func_name"   {option="opt"} {args="def_num"} result="var_name"/> 8.   <code id="code_id" keyword="virtual" action="declare" interface="int_name" result="var_name"/> Virtual Interface Usage 1.   <code id="code_id" keyword="virtual" action="use"     interface="int_name" function="func_name"  {option="opt"} {args="def_num"} result="var_name"/> Argument 1.   <code id="code_id" keyword="argument" action="declare" value="val"/> Argument Usage 1.   <code id="code_id" keyword="argument"  action="use" name="arg_name" value="val"/> Show 1.   <code id="code_id" keyword="print" value="val" output="out"/>
  • 5. ALPHA Script XML equivalent tags for each category of symbols. General Rule <code id="[Unique ID]" symbol="[SYMBOL]" {[arg 1]="[val 1]" [arg 2]="[val 2]}"/> Mathematics 1.   <code id="code_id" symbol="+" arg_1="val_1" arg_2="val_2"/> 2.   <code id="code_id" symbol="­" arg_1="val_1" arg_2="val_2"/> 3.   <code id="code_id" symbol="*" arg_1="val_1" arg_2="val_2"/> 4.   <code id="code_id" symbol="/" arg_1="val_1" arg_2="val_2"/> 5.   <code id="code_id" symbol="%" arg_1="val_1" arg_2="val_2"/> Comparisons 1.   <code id="code_id" symbol="=" arg_1="val_1" arg_2="val_2"/> 2.   <code id="code_id" symbol=">" arg_1="val_1" arg_2="val_2"/> 3.   <code id="code_id" symbol="<" arg_1="val_1" arg_2="val_2"/> 4.   <code id="code_id" symbol="!" arg_1="val_1" arg_2="val_2"/> Parentheses 1.   <code id="code_id" symbol="("/> 2.   <code id="code_id" symbol=")"/> Delimiters 1.   <code id="code_id" symbol=","/>
  • 6. ALPHA Script XML equivalent tags of ALPHA Script tags for embedding in HTML 4/5. General Rule <code id="code_id" keyword="as_tags"/> ­ Put code in ALPHA Script tags (<@ … @>) George Delaportas (G0D) --- CEO & Founder of localhost Ltd. Informatics & Computer Engineer MSc in Data Communications & Networking PhD in Digital Forensics