.githooks/
compiler/
kernel/
lib/
scripts/
seed/
sublime/
test/
boot/
bootstrap/
compiler/
cycles/
dispatch/
format/
input/
basic.rad
380 B
escapes.rad
44 B
regions.rad
430 B
output/
host/
integration/
kernel/
loader/
manifests/
mmio/
native/
packages/
runtime/
scheduling/
shared/
slots/
smp/
std/
sync/
termination/
tests/
trap/
verify/
Makefile
9.2 KiB
kernel.rad
776 B
runner.rad
11.6 KiB
vim/
.gitignore
333 B
.gitsigners
224 B
AGENTS.md
8.3 KiB
CONTRIBUTING
2.1 KiB
LICENSE
1.1 KiB
Makefile
2.5 KiB
README
3.4 KiB
STYLE
3.2 KiB
std.lib
2.1 KiB
std.lib.test
1.1 KiB
test/format/input/regions.rad
raw
| 1 | fn get(map:&'r Map,other:&'s mut Map,key:u64)->?&'r mut [u8]{return nil;} |
| 2 | fn (m:&'r mut Map) find(key:u64)->?&'r u32{return nil;} |
| 3 | fn f(){let m:&'r Map=&map{inspect(m);}let w:&'w mut Map=&mut map {update(w);}} |
| 4 | |
| 5 | record Request[ 'in ]:Copy{method:&'in [u8],body:&'in [u8]} |
| 6 | |
| 7 | record Pair['r](&'r u8,u32); |
| 8 | |
| 9 | union Token['src]:Copy{Ident(&'src [u8]),Number(u64)} |
| 10 | |
| 11 | fn parse(input:&'in [u8])->Request['in] throws(ParseError){return nil;} |