1 / 10

Cellular Programming

Cellular Programming. Air Forth 1. Ilan Kadar & Ofry Ram www.cs.bgu.ac.il/~ramo. Writing applications to Cellular Phones. Adding function to Cellular applications. Air Forth 1. Called after Forth. Programming on the cellular , making it a lot easier and simple.

silver
Download Presentation

Cellular Programming

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Cellular Programming Air Forth 1 Ilan Kadar & Ofry Ram www.cs.bgu.ac.il/~ramo

  2. Writing applications to Cellular Phones

  3. Adding function to Cellular applications

  4. Air Forth 1 • Called after Forth. • Programming on the cellular , making it a lot easier and simple. • Switching between compile and interpret modes, while the application is running. • Optimizing compiled code.

  5. Programming Air Forth 1 is similar to RPN (Reverse Polish Notation) or postfix. Algebraic: x + y x - y x * y x / y Reverse Polish: x y + x y - x y * x y /

  6. Some Examples • 4 5 > IF “bigger” . ELSE “smaller” . THEN • 6 BEGIN  DUP . 1 – DUP 0 < UNTIL • 5 DO “bla” . LOOP • N 0 = IF 1 ELSE N 1 - Recurse N * THEN

  7. The Real Thing

  8. Factorial

  9. The End

More Related