[READ-ONLY] Mirror of https://github.com/CanadaHonk/porffor. An ahead-of-time JavaScript compiler porffor.dev
10

Configure Feed

Select the types of activity you want to include in your feed.

bench/bf.ts: bytestring type alias ;)

CanadaHonk (Jan 31, 2024, 2:31 AM UTC) eaee2da1 bab58418

+2 -1
+2 -1
bench/bf.ts
··· 1 1 // const printChar = i => process.stdout.write(String.fromCharCode(i || 0)); 2 2 type i32 = number; 3 + type bytestring = string; 3 4 4 - const interpret = (str: string) => { 5 + const interpret = (str: bytestring) => { 5 6 let ptr: i32 = 0; 6 7 let memory: i32[] = new Array(8000); 7 8 memory.fill(0);