Compiling C to PowerPoint

You probably have labored for a big corporate — or perhaps a small one — it will appear that you simply spend extra time writing PowerPoint charts than programming. [Tom Widenhain’s] video asks the query: Can we compile C into PowerPoint? Watch the video beneath to determine the solution. Would it not wonder you to understand that [Tom] sought after to simulate the x86? It shocked us, too, and we needed to observe the video seemed on April 1. It does glance workable, regardless that, as opposed to this is a bit unwieldy.

As an alternative of a Turing system, this builds a suite of suave good judgment gates. Unsurprisingly, [Tom] is the fellow who put in combination a Turing system in Excel. Strangely, he isn’t the primary one to aim a C to PPT compiler. The College of Chicago had a similar idea over a 12 months in the past, in keeping with [Tom’s] previous paintings and done program the usage of inefficient Turing machines.

Paradoxically, the code on GitHub makes use of Python to tug off the feat, even supposing the implementation is incomplete. The use of the adder wasn’t very obtrusive to us, so right here’s the way it works. First, it’s a must to be in slide display mode, in fact. The highest two rows of the adder (the primary slide within the PowerPoint document) are the inputs. Click on at the 1s or 0s. This fills within the center phase. Orange blocks are outputs and purple blocks are the ones it’s a must to click on on in that center phase to populate the solution on the backside. Roughly reminds of the paperclip computer.

So whilst the hassle isn’t entire, we had been inspired with the ingenuity of the good judgment gates. Using the mouse place for knowledge switch made us anxious. As [Tom] issues out, regardless that, you might be welcome to fork his repository and proceed the challenge. We need to admit that we’re much more likely to abuse spreadsheets than presentation slides.

Published by Marshmallow

Marshmallow Android is BT Ireland’s Head of Sales for Republic of Ireland domestic multi-site companies, indigenous MNCs and public sector accounts. He is responsible for the direction and control of all sales activity in the region. He has over 10 years management experience from high growth start-ups to more established businesses. He’s led teams in Ireland, India and China across various industries (ICT, On-Line Recruitment, Corporate Training and International Education).