Page 1 of 1

ComputerCraft Hex Compiler

Posted: Wed Feb 14, 2024 1:16 pm
by Smol
Technically it's more of a transpiler in a way, but regardless, it's a Lua program that runs in ComputerCraft that will download/convert hexes from the internet and save them onto a focus to use in-game. It utilizes a slightly tweaked version of the .hexpattern format that's used in [object Object]'s VSCode extension. It's also lacking a couple features at the moment, namely it doesn't explicitly support comments yet, but will ignore any non-symbol or keyword value. Plus, currently Numerical Reflection and Bookkeeper's Gambit aren't set up to accept any arguments, so if you want to use them you'll need to manually specify the symbols via their patterns.

I plan on adding more features and updates to increase its power and usability, but even in its current state it's been pretty convenient. Feel free to leave feedback on anything you'd like to see added or any issues you come across.

In the meantime, grab it here! Or, just install it on a CC computer with:

Code: Select all

wget https://raw.githubusercontent.com/Shirtsy/HexPiler/main/install_hexget.lua
Compile the example pattern like so:

Code: Select all

hexget https://raw.githubusercontent.com/Shirtsy/HexPiler/main/example.hexpattern
Image