Skip to content

Instantly share code, notes, and snippets.

/*
The purpose of this plugin is to disable certain procedures that are intended to be
developer-only secret code that you don't want to end up in the final release build
of your program.
To use this plugin, compile your program with `jai main.jai -plug Developer_Only`
and then mark certain procedures with the `@Developer` note. These procedures will
have their body deleted when in developer builds.
#import "Basic";
#import "Compiler";
#import "Hash_Table";
get_plugin :: () -> *Metaprogram_Plugin {
p := New(Metaprogram_Plugin);
p.message = message;
return p;
}
@alexover1
alexover1 / sugoku.go
Created July 22, 2022 01:00
Sudoku solver in Go
package main
import (
"fmt"
"time"
)
const BOARD_SIZE int = 9
const BOX_SIZE int = 3