Skip to content

pragmascript/PragmaScript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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");
}

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages