This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
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. | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#import "Basic"; | |
#import "Compiler"; | |
#import "Hash_Table"; | |
get_plugin :: () -> *Metaprogram_Plugin { | |
p := New(Metaprogram_Plugin); | |
p.message = message; | |
return p; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"time" | |
) | |
const BOARD_SIZE int = 9 | |
const BOX_SIZE int = 3 |