SlideShare uma empresa Scribd logo
1 de 6
Baixar para ler offline
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

Mais conteúdo relacionado

Mais procurados

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
 

Mais procurados (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
 

Destaque

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
 

Destaque (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
 

Semelhante a 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
 

Semelhante a 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...
 

Mais 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
 

Mais 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
 

Último

Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxLoriGlavin3
 
Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rick Flair
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxLoriGlavin3
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demoHarshalMandlekar2
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsNathaniel Shimoni
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
"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
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxLoriGlavin3
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
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
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfMounikaPolabathina
 
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 State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxLoriGlavin3
 

Último (20)

Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
 
Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demo
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directions
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
"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
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
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!
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdf
 
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 State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
 

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