Skip to content
View pragmascript's full-sized avatar
Block or Report

Block or report pragmascript

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
pragmascript/README.md

pragma

A programming language that aims to be slightly more comfy than C without sacrificing performance.

Small Pathtracer Example

Video

Syntax Example (everything is still in flux)

import "preamble.prag"

[
	"compile.output": "hello_world.exe",
	"compile.entry" : "true",
	"compile.debug" : "true",
 	"compile.opt"   : "0",
 	"compile.run"   : "true",
 	"compile.libs"  : "kernel32.lib",
	"compile.path"  : "C:\Program Files (x86)\Windows Kits\10\Lib\10.0.14393.0\um\x64"
]
let main = fun () => void 
{
	print_string("hello, world!\n");
	for (var i = 0; i < 12; ++i) {
		print_i32(i + 1);
		if (i != 11) {
			print_string(", ");
		}
	}
	print_string("\n");
}

@pragmascript's activity is private