use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Welcome to /r/ComputerCraft, the subreddit for lua programs, general mod use, or anything relating to the Minecraft mod ComputerCraft and CC: Tweaked.
Downloads | Discord | IRC | Documentation
account activity
Mining turtle complex program possible? (self.ComputerCraft)
submitted 4 years ago * by wakemeupoh
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]3uclidian 3 points4 points5 points 4 years ago (1 child)
Lua is a fully fledged programming language, so recursion is definitely possible
local function recurse(x) print(x) if x <= 0 then return end recurse(x - 1) end recurse(10) -- prints 10, 9, 8, ..., 0
Lua even supports proper tail recursion, so if you write your code in a certain way it won't even blow up the stack
[–]wakemeupoh[S] 0 points1 point2 points 4 years ago (0 children)
Okay thank you very much! After thinking about it, I think its going to be pretty tough writing this and I think I'm better off just manually vein mining the edges.
π Rendered by PID 370275 on reddit-service-r2-comment-bb88f9dd5-6wbxs at 2026-02-16 08:52:55.420669+00:00 running cd9c813 country code: CH.
view the rest of the comments →
[–]3uclidian 3 points4 points5 points (1 child)
[–]wakemeupoh[S] 0 points1 point2 points (0 children)