Skip to content

Latest commit

 

History

History
70 lines (42 loc) · 1.74 KB

README.md

File metadata and controls

70 lines (42 loc) · 1.74 KB

Setup for Advent of Code 2023 in HolyC

Video on how to configure this setup

rice

Colorscheme I use: ./Home/Theme.HC

Basically my attempt of making an oxocarbon port on TempleOS

Quick Start

Dependencies

Configuration

QEMU flags, the name of the image and other QEMU options are defined in the configuration function in the pray.sh script. You can edit it to your liking.

TempleOS Installation

$ ./pray.sh install
... Follow the Installer instructions, but don't reboot at the end. Just close the VM ...
$ ./pray.sh sync temple

Running

$ ./pray.sh run

Sync the Home between the Host and the Temple

When using sync, you must specify the target to which you want to sync. This could be either host or temple.

From Host to Temple

For example, if you create a new file in the Home directory on the host, you can sync it to the TempleOS virtual image with:

$ ./pray.sh sync temple

From Temple to Host

$ ./pray.sh sync host

New Day

To create a new day:

$ ./pray.sh newday Day1

Note: after running the newday command, syncing is not required, so you can just use ./pray.sh run to run the virtual machine with the new day directory added.

Examples

In the ./Home/Examples directory you can find some examples of HolyC code I wrote.

Credits

This repository is almost entirely based on Tsoding's AOC 2021 repo, which I only modified to fit my needs, so all credits go to him.