SlideShare ist ein Scribd-Unternehmen logo
1 von 15
Downloaden Sie, um offline zu lesen
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!

Weitere ähnliche Inhalte

Ähnlich wie 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
 

Ähnlich wie 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
 

Mehr von 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
 

Mehr von 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
 

Kürzlich hochgeladen

Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
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
 
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
 
"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
 
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
 
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
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
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
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
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
 
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
 
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
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxLoriGlavin3
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
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
 
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
 
"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
 
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
 
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
 

Kürzlich hochgeladen (20)

Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
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
 
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
 
"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
 
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
 
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
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
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
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
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
 
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
 
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
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
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
 
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
 
"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
 
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
 
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
 

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!