-RELEASE=0
+RELEASE=1
OBJ_FILES=\
build/onyxlex.o \
const data = new DataView(WASM_MEMORY.buffer, bufferdata, bufferlen);
this.gl.bufferSubData(target, offset, data);
},
+ canvasSize(width, height) {
+ this.canvas.width = width;
+ this.canvas.height = height;
+ },
checkFrameBufferStatus(target) { return this.gl.checkFrameBufferStatus(target); },
clear(bit) { this.gl.clear(bit); },
clearColor(r, g, b, a) { this.gl.clearColor(r, g, b, a); },
bufferDataNoData :: proc (target: GLenum, size: GLsizeiptr, usage: GLenum) #foreign "gl" "bufferDataNoData" ---
bufferData :: proc #overloaded { bufferDataWithData, bufferDataNoData }
bufferSubData :: proc (target: GLenum, offset: GLsizei, data: Buffer) #foreign "gl" "bufferSubData" ---
+canvasSize :: proc (width: GLsizei, height: GLsizei) #foreign "gl" "canvasSize" ---
checkFrameBufferStatus :: proc (target: GLenum) -> GLenum #foreign "gl" "checkFrameBufferStatus" ---
clear :: proc (mask: GLbitfield) #foreign "gl" "clear" ---
clearColor :: proc (red: GLclampf, green: GLclampf, blue: GLclampf, alpha: GLclampf) #foreign "gl" "clearColor" ---
[ ] Add SIMD intrinsics
- This also requires adding the v128 SIMD type
+ [ ] Add threading intrinsics
+ - This will actually be fairly easy since I think all that is needed is
+ to implement the intrinsics.
+
[ ] Type parameterized structs
[ ] Array literals
syn keyword onyxCommentStart contained TODO NOTE BUG HACK
syn region onyxComment start="//" end="$" keepend contains=onyxCommentStart
+syn region onyxComment start="/\*" end="\*/" contains=onyxCommentStart
syn region onyxDirective start="#" end=" "
print("\n");
print_bar(^bar);
print_foo(^bar.foo);
+ print(bar.foo.data1);
+ print("\n");
program := "+ + * s - /";
accumulator := 0;
case Ast_Kind_Polymorphic_Proc: break;
+ case Ast_Kind_Package: break;
+
case Ast_Kind_Error: break;
default:
return;
}
+ (*value)->value->type = enum_node->backing_type;
+
} else {
AstNumLit* num = onyx_ast_node_new(semstate.node_allocator, sizeof(AstNumLit), Ast_Kind_NumLit);
num->value.l = next_assign_value;