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

Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfRankYa
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningLars Bell
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostZilliz
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DayH2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DaySri Ambati
 

Dernier (20)

Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DayH2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
 

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