Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

23 lines (20 sloc) 512 Bytes
with open('std.c', 'w') as f:
f.write('''#include "std.h"
/* This file is generated by
* Do not edit by hand.
* Also, this file is automatically updated
* by make when the project is built.
V load_std(V global)
char std[] = {''')
with open('', 'rb') as std:
for n, char in enumerate(
if n % 8 == 0:
f.write("\n ")
f.write(r"'\x%02x', " % ord(char))
return load_memfile(std, sizeof std, a_to_string("(standard library)"), global);
Jump to Line
Something went wrong with that request. Please try again.