SlideShare une entreprise Scribd logo
1  sur  15
Télécharger pour lire hors ligne
OSDcLang
for mobile
  devices
Beginners
Languages
Low level,
stack based?
Functional,
loosely typed?
Object oriented,
 strictly typed?
Yes!
OSDcLang
 Simple syntax
   Expressive
3 Syntax Elements
      OSDc.
      OSDc?
      OSDc!
8 Commands
* OSDc. OSDc?
Move the Memory Pointer to the next array cell.
* OSDc? OSDc.
Move the Memory Pointer to the previous array cell.
* OSDc. OSDc.
Increment the array cell pointed at by the Memory Pointer.
* OSDc! OSDc!
Decrement the array cell pointed at by the Memory Pointer.
* OSDc. OSDc!
Read a character from STDIN and put its ASCII value into the cell at the Memory Pointer.
* OSDc! OSDc.
Print the character with ASCII value of the cell pointed at by the Memory Pointer.
* OSDc! OSDc?
Move to the command following the matching OSDc? OSDc! if the value in the cell
pointed at by the Memory Pointer is zero. Note that OSDc! OSDc? and OSDc? OSDc!
commands nest like pairs of parentheses, and matching pairs are defined in the same
way as for parentheses.
* OSDc? OSDc!
Move to the command following the matching OSDc! OSDc? if the value in the cell
pointed at by the Memory Pointer is non-zero.
OSDcLang is Turing complete

Trivially isomorphic to BrainF**k
OSDc. OSDc?   ==   >
OSDc? OSDc.   ==   <
OSDc. OSDc.   ==   +
OSDc! OSDc!   ==   ­
OSDc. OSDc!   ==   ,
OSDc! OSDc.   ==   .
OSDc! OSDc?   ==   [
OSDc? OSDc!   ==   ]
     >   ==   OSDc. OSDc?
     <   ==   OSDc? OSDc.
     +   ==   OSDc. OSDc.
     ­   ==   OSDc! OSDc!
     ,   ==   OSDc. OSDc!
     .   ==   OSDc! OSDc.
     [   ==   OSDc! OSDc?
     ]   ==   OSDc? OSDc!
So what does it look like?
  Very simple! Print “A”:
OSDc. OSDc.   OSDc. OSDc.    OSDc. OSDc.   OSDc. OSDc.
OSDc. OSDc.   OSDc. OSDc.    OSDc. OSDc.   OSDc. OSDc.
OSDc. OSDc.   OSDc. OSDc.    OSDc. OSDc.   OSDc. OSDc.
OSDc. OSDc.   OSDc. OSDc.    OSDc. OSDc.   OSDc. OSDc.
OSDc. OSDc.   OSDc. OSDc.    OSDc. OSDc.   OSDc. OSDc.
OSDc. OSDc.   OSDc. OSDc.    OSDc. OSDc.   OSDc. OSDc.
OSDc. OSDc.   OSDc. OSDc.    OSDc. OSDc.   OSDc. OSDc.
OSDc. OSDc.   OSDc. OSDc.    OSDc. OSDc.   OSDc. OSDc.
OSDc. OSDc.   OSDc. OSDc.    OSDc. OSDc.   OSDc. OSDc.
OSDc. OSDc.   OSDc. OSDc.    OSDc. OSDc.   OSDc. OSDc.
OSDc. OSDc.   OSDc. OSDc.    OSDc. OSDc.   OSDc. OSDc.
OSDc. OSDc.   OSDc. OSDc.    OSDc. OSDc.   OSDc. OSDc.
OSDc. OSDc.   OSDc. OSDc.    OSDc. OSDc.   OSDc. OSDc.
OSDc. OSDc.   OSDc. OSDc.    OSDc. OSDc.   OSDc. OSDc.
OSDc. OSDc.   OSDc. OSDc.    OSDc. OSDc.   OSDc. OSDc.
OSDc. OSDc.   OSDc. OSDc.    OSDc. OSDc.   OSDc. OSDc.
OSDc. OSDc.
OSDc! OSDc.
OSDcLang
Now on mobile, err, devices!

Contenu connexe

Similaire à OSDcLang On Mobile Devices

Jenkins Docker
Jenkins DockerJenkins Docker
Jenkins DockerAlex Soto
 
Rubish- A Quixotic Shell
Rubish- A Quixotic ShellRubish- A Quixotic Shell
Rubish- A Quixotic Shellguest3464d2
 
Static typing and proof in ATS language
Static typing and proof in ATS languageStatic typing and proof in ATS language
Static typing and proof in ATS languageKiwamu Okabe
 
Scripting OS X with Applescript, without Applescript
Scripting OS X with Applescript, without ApplescriptScripting OS X with Applescript, without Applescript
Scripting OS X with Applescript, without ApplescriptMatt Patterson
 

Similaire à OSDcLang On Mobile Devices (7)

Jenkins Docker
Jenkins DockerJenkins Docker
Jenkins Docker
 
Rubish- A Quixotic Shell
Rubish- A Quixotic ShellRubish- A Quixotic Shell
Rubish- A Quixotic Shell
 
Your code is not a string
Your code is not a stringYour code is not a string
Your code is not a string
 
gonzalo
gonzalogonzalo
gonzalo
 
Data compession
Data compession Data compession
Data compession
 
Static typing and proof in ATS language
Static typing and proof in ATS languageStatic typing and proof in ATS language
Static typing and proof in ATS language
 
Scripting OS X with Applescript, without Applescript
Scripting OS X with Applescript, without ApplescriptScripting OS X with Applescript, without Applescript
Scripting OS X with Applescript, without Applescript
 

Plus de Jonathan Oxer

Debian Package Caching Solutions
Debian Package Caching SolutionsDebian Package Caching Solutions
Debian Package Caching SolutionsJonathan Oxer
 
Software Freedom: Pragmatic Idealism?
Software Freedom: Pragmatic Idealism?Software Freedom: Pragmatic Idealism?
Software Freedom: Pragmatic Idealism?Jonathan Oxer
 
Encrypted password storage
Encrypted password storageEncrypted password storage
Encrypted password storageJonathan Oxer
 
How to grow your eBusiness and build an online community
How to grow your eBusiness and build an online communityHow to grow your eBusiness and build an online community
How to grow your eBusiness and build an online communityJonathan Oxer
 
Self-Healing Databases
Self-Healing DatabasesSelf-Healing Databases
Self-Healing DatabasesJonathan Oxer
 
How To Build A Website And Stay Sane
How To Build A Website And Stay SaneHow To Build A Website And Stay Sane
How To Build A Website And Stay SaneJonathan Oxer
 
Managing Source Code With Subversion
Managing Source Code With SubversionManaging Source Code With Subversion
Managing Source Code With SubversionJonathan Oxer
 
PHP Performance Profiling
PHP Performance ProfilingPHP Performance Profiling
PHP Performance ProfilingJonathan Oxer
 
Compiling kernels the Debian way
Compiling kernels the Debian wayCompiling kernels the Debian way
Compiling kernels the Debian wayJonathan Oxer
 

Plus de Jonathan Oxer (12)

Geek My Ride
Geek My RideGeek My Ride
Geek My Ride
 
Debian Package Caching Solutions
Debian Package Caching SolutionsDebian Package Caching Solutions
Debian Package Caching Solutions
 
Software Freedom: Pragmatic Idealism?
Software Freedom: Pragmatic Idealism?Software Freedom: Pragmatic Idealism?
Software Freedom: Pragmatic Idealism?
 
Encrypted password storage
Encrypted password storageEncrypted password storage
Encrypted password storage
 
How to grow your eBusiness and build an online community
How to grow your eBusiness and build an online communityHow to grow your eBusiness and build an online community
How to grow your eBusiness and build an online community
 
Self-Healing Databases
Self-Healing DatabasesSelf-Healing Databases
Self-Healing Databases
 
How To Build A Website And Stay Sane
How To Build A Website And Stay SaneHow To Build A Website And Stay Sane
How To Build A Website And Stay Sane
 
Managing Source Code With Subversion
Managing Source Code With SubversionManaging Source Code With Subversion
Managing Source Code With Subversion
 
Large Scale PHP
Large Scale PHPLarge Scale PHP
Large Scale PHP
 
PHP On Steroids
PHP On SteroidsPHP On Steroids
PHP On Steroids
 
PHP Performance Profiling
PHP Performance ProfilingPHP Performance Profiling
PHP Performance Profiling
 
Compiling kernels the Debian way
Compiling kernels the Debian wayCompiling kernels the Debian way
Compiling kernels the Debian way
 

Dernier

Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
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
 
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
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
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
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
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
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
"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
 
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
 
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
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
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
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
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
 

Dernier (20)

Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
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
 
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
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
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
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
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
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
"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
 
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)
 
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
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
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
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
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
 

OSDcLang On Mobile Devices

  • 8. 3 Syntax Elements OSDc. OSDc? OSDc!
  • 9. 8 Commands * OSDc. OSDc? Move the Memory Pointer to the next array cell. * OSDc? OSDc. Move the Memory Pointer to the previous array cell. * OSDc. OSDc. Increment the array cell pointed at by the Memory Pointer. * OSDc! OSDc! Decrement the array cell pointed at by the Memory Pointer. * OSDc. OSDc! Read a character from STDIN and put its ASCII value into the cell at the Memory Pointer. * OSDc! OSDc. Print the character with ASCII value of the cell pointed at by the Memory Pointer. * OSDc! OSDc? Move to the command following the matching OSDc? OSDc! if the value in the cell pointed at by the Memory Pointer is zero. Note that OSDc! OSDc? and OSDc? OSDc! commands nest like pairs of parentheses, and matching pairs are defined in the same way as for parentheses. * OSDc? OSDc! Move to the command following the matching OSDc! OSDc? if the value in the cell pointed at by the Memory Pointer is non-zero.
  • 10. OSDcLang is Turing complete Trivially isomorphic to BrainF**k
  • 11. OSDc. OSDc? == > OSDc? OSDc. == < OSDc. OSDc. == + OSDc! OSDc! == ­ OSDc. OSDc! == , OSDc! OSDc. == . OSDc! OSDc? == [ OSDc? OSDc! == ]
  • 12.      > == OSDc. OSDc? < == OSDc? OSDc. + == OSDc. OSDc. ­ == OSDc! OSDc! , == OSDc. OSDc! . == OSDc! OSDc. [ == OSDc! OSDc? ] == OSDc? OSDc!
  • 13. So what does it look like? Very simple! Print “A”: OSDc. OSDc. OSDc. OSDc. OSDc. OSDc. OSDc. OSDc. OSDc. OSDc. OSDc. OSDc.  OSDc. OSDc. OSDc. OSDc. OSDc. OSDc. OSDc. OSDc. OSDc. OSDc. OSDc. OSDc. OSDc. OSDc. OSDc. OSDc. OSDc. OSDc. OSDc. OSDc. OSDc. OSDc. OSDc. OSDc. OSDc. OSDc. OSDc. OSDc. OSDc. OSDc. OSDc. OSDc. OSDc. OSDc. OSDc. OSDc. OSDc. OSDc. OSDc. OSDc. OSDc. OSDc. OSDc. OSDc. OSDc. OSDc. OSDc. OSDc. OSDc. OSDc. OSDc. OSDc. OSDc. OSDc. OSDc. OSDc. OSDc. OSDc. OSDc. OSDc. OSDc. OSDc. OSDc. OSDc. OSDc. OSDc. OSDc. OSDc. OSDc. OSDc. OSDc. OSDc. OSDc. OSDc. OSDc. OSDc. OSDc. OSDc. OSDc. OSDc. OSDc. OSDc. OSDc. OSDc. OSDc. OSDc. OSDc. OSDc. OSDc. OSDc. OSDc. OSDc. OSDc. OSDc. OSDc. OSDc. OSDc. OSDc. OSDc. OSDc. OSDc. OSDc. OSDc. OSDc. OSDc. OSDc. OSDc. OSDc. OSDc. OSDc. OSDc. OSDc. OSDc. OSDc. OSDc. OSDc. OSDc. OSDc. OSDc! OSDc.
  • 14.
  • 15. OSDcLang Now on mobile, err, devices!