Skip to content

Jacbo1/my_second_calculator.lua

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

my_second_calculator.lua

I was inspired by AceLewis's my_first_calculator.py to make my own satirical calculator. While mine does not have an if statement for each number, it instead does all of the arithmetic in binary using only tables. This unfortunately means I was not able to add division (yet). It supports +, -, and * on integers from 0 to 63. The subtraction segment can also output negative numbers. There is no arithmetic or numerical comparisons done without tables.

To use it, enter your formula into the console like "12+43". I used https://www.tutorialspoint.com/execute_lua_online.php for testing.

image

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published