# C64 BASIC on iOS

BASIC (Beginners’ All-purpose Symbolic Instruction Code or Beginners All-purpose Symbolic Instruction Code) is a family of general-purpose, high-level programming languages whose design philosophy emphasizes ease of use. — Wikipedia: BASIC

After running C64 BASIC on a microcontroller, in a Docker image and also on the console, I thought, why not on an iPhone?

My idea is to create an iOS app for the output and an input field for the commands. I send the commands to a C64 BASIC interpreter and read the output to display it in the app. …

# Recursive calls between Lua and Swift

A common method of simplification is to divide a problem into subproblems of the same type. — Wikipedia: recursive

In this third blog post (see also blog post 1, blog post 2) we will register a Swift function within Lua so that it can be called from Lua. The Swift function can basically call anything. This allows Lua to execute certain things or access values that the embedded Lua can’t, like the gyroscope of the smartphone. But we will just call the Lua factorial function again.

There are a some more steps necessary, because we add an additional wrapper:

• registerFunction

# Factorial calculation with Lua and Swift

The result of multiplying a given number of consecutive integers from 1 to the given number. In equations, it is symbolized by an exclamation mark (!). For example, 5! = 1 × 2 × 3 × 4 × 5 = 120. — Wiktionary: factorial

In the previous blog post I showed how Lua can be integrated within Swift. In this blog post we will call a Lua function from Swift and print the result. For this I use a factorial example where the code is called recursively. In the next step / blog post the Lua code will call the…

# Lua and Swift in iOS

I looked at Lua which it’s pretty easy to integrate and is highly optimized, but I really hate the syntax. There is just too much that is goofy about Lua. I like my { braces }. — Ron Gilbert: Engine

This year I found the time to play Thimbleweed Park. A point-and-click adventure game by Ron Gilbert and Gary Winnick, who got famous for their 1987 game Maniac Mansion. Ron Gilbert was also involved in The Secret of Monkey Island and the SCUMM game engine.

In the blog post Engine he writes “ I’m a game engine snob” and that…

# ARKit and Image Recognition

(this is an update of a previous blog post at SAP Hybris Labs)

Till Krempel talked about some real use cases in his presentation:

• Games, here Pokemon Go is probably the best known
• Medicine, by projecting MRI data from the inside of the foot to the outside
• Exploded assembly drawings
• Indoor navigation and location based services (e.g. library)
• IoT devices without a display

# AR in Movies

Short films, films and series currently show the possibilities of AR in the future, but this is mostly presented in a total flood of advertising.

• In Hyper-Reality this is hopefully very extreme represented.
• Where, on the other…

## Lars Gregori

Get the Medium app