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
#ifndef _ALLOCATORS_H_INCLUDE_ | |
#define _ALLOCATORS_H_INCLUDE_ | |
#include <stdint.h> | |
#include <stddef.h> | |
#include <stdbool.h> | |
#include <stdalign.h> | |
/* | |
Arena allocator, also known as a linear or bump allocator, is a |
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
/* SPDX License Identifier: MIT-0 */ | |
#ifndef _POOL_H_INCLUDE_ | |
#define _POOL_H_INCLUDE_ | |
#include <stdint.h> | |
#include <stddef.h> | |
#include <stdbool.h> | |
#include <stdalign.h> | |
typedef struct Pool Pool; |
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
#ifndef _ARENA_H_INCLUDE_ | |
#define _ARENA_H_INCLUDE_ | |
#include <stdint.h> | |
#include <stddef.h> | |
#include <stdbool.h> | |
#include <stdalign.h> | |
typedef struct Arena Arena; | |
typedef struct ArenaRegion ArenaRegion; |
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 jss | |
import "core:fmt" | |
import "core:time" | |
import "core:slice" | |
import "core:mem" | |
import "core:math" | |
import "core:math/rand" | |
Task :: struct { |
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
H4sIAAAAAAAAA+xd+3bbNtLPv8tz+g5o2lR2KtuSrIujE7kry3KirS17JTnZnDh1KRKUkFAklwB9 | |
SdM9+yD7vdw+yTcDkBRJSZbtJt7uVnBrE8BvLsAAgysZ54JNth592VCAUKtVHsk/tVrybxQeFcu1 | |
QrVYrZUK248KxUIRsknlC+slQ8CF7hPyaKdQqVaKi3HL8v9Lg4P21y1B/S/XCu5i/2IF0ovF7WJh | |
Zf+HCAn782tH6FdfoBnc0v7lMti/sF0E+5eqpVX/f5Awa39jE5I+qww0cLVaXmT/Uq1WlPavlitF | |
NHyhuF0tVB+RwmfVYkH4g9sfjE4+0OtL1zeJ0b4Svj649qj2pzPCdggrVgnbLhFWLWNKsEMCSAkg | |
JVApwx0yhJQhpAxVSmeHdCClAykdlcI4+0hJoH4zR8hfnvDJ8FpIQQYXPnNGJPzjB45MtoCNBWws | |
YKPNV/PU86iP2NMdcgrwU4CfKql7O2QPUvYgZU+l9FGB01B2B/ToqMceyCN7oS4HQHMANAeLhTaF | |
O2EGgnX5dA4VFT0BdfQITKJHJT+MBTE6mKKDKTpIoYcxejhFD6foYQqtqjpilIpgxSeeseARi7Do | |
YdSayrGmcm4wgqqP2BQqCs0gfAB24RNwC5+U0iFhhDyNkacx8jSJ3IuQezFyL0buJZHS1CEHLPj0 | |
EcsdEoTFVrGDmOVBzHKmDfwY/hVQapNaBCvYtYhus5EDf01q2JgFD5Ye2IIYOqeSwUQXxpgYntfV |
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
// SPDX License Identifier: MIT-0 | |
public class CSV { | |
public class ParserException : Exception { | |
public ParserException(string msg) : base(msg) {} | |
} | |
public class LexerException : Exception { | |
public LexerException(string msg, long offset) : base($"(Offset={offset}) {msg}") {} | |
} |