#projects

Brian Swetlandswetland@chaos.social
2026-03-07

This silly compiler project has been slowly cranking along... back in 2022 I paused things a bit, deciding I needed to back up and rethink the whole approach to bootstrapping and self hosting... having finally accomplished that to my satisfaction I'm now returning to the SSA IR and other goodies I was playing with when the original iteration reached a level of too-messy-to-want-to-continue-as-is.

The code is looking tidier in the new iteration of things, so yay, progress.

#Projects #Compiler

fn inst_disasm(os OutStream, ins Inst) {
	var op u32 = ins.op & INS_OP_MASK;

	if op == INS_LABEL {
		os.fmt("@:").label(ins.a);
	} else if op == INS_MOV {
		os.fmt("    mov @, @").reg(ins.a).arg(ins.c,ins.op);
	} else if (op == INS_LD) | (op == INS_ST) {
		var sz str = isz_name[(ins.op & INF_SZ_MASK) >> INF_SZ_SHIFT];
		os.fmt("    @@ @, [@, @]").s(iop_name[op]).s(sz).reg(ins.a).reg(ins.b).arg(ins.c,ins.op);
	} else if op <= INS_PHI {
		os.fmt("    @ @, @, @").s(iop_name[op]).reg(ins.a).reg(ins.b).arg(ins.c,ins.op);
	} else if op == INS_B {
		os.fmt("    b @").label(ins.a);
	} else if (op >= INS_BEQ) && (op <= INS_BGE) {
		os.fmt("    @ @, @, @").s(iop_name[op]).label(ins.a).reg(ins.b).arg(ins.c,ins.op);
	} else if op == INS_CALL {
		os.fmt("    call @").label(ins.a);
	} else if op == INS_RET {
		os.fmt("    ret @").reg(ins.a);
	} else {
		os.fmt("    inval 0x@").x(ins.op);
	}
}

Alberta, Ottawa agree on deal that would see province front its own major project reviews
Ottawa and Alberta have reached an agreement that will see the province take control of regulatory approvals for major projects, something they say will deliver those projects more expeditiously.
cbc.ca/news/canada/calgary/alb

Alberta, Ottawa agree on deal that would see province front its own major project reviews
Ottawa and Alberta have reached an agreement that will see the province take control of regulatory approvals for major projects, something they say will deliver those projects more expeditiously.
cbc.ca/news/canada/calgary/alb

Alberta, Ottawa agree on deal that would see province front its own major project reviews
Ottawa and Alberta have reached an agreement that will see the province take control of regulatory approvals for major projects, something they say will deliver those projects more expeditiously.
cbc.ca/news/canada/calgary/alb

Alberta, Ottawa agree on deal that would see province front its own major project reviews
Ottawa and Alberta have reached an agreement that will see the province take control of regulatory approvals for major projects, something they say will deliver those projects more expeditiously.
cbc.ca/news/canada/calgary/alb

Alberta, Ottawa agree on deal that would see province front its own major project reviews
Ottawa and Alberta have reached an agreement that will see the province take control of regulatory approvals for major projects, something they say will deliver those projects more expeditiously.
cbc.ca/news/canada/calgary/alb

2026-03-06

Ottawa, Alberta reach prospective agreement on major project assessments
Alberta Premier Danielle Smith says in a news release the agreement is a meaningful step forward and should mean shovels hit the ground faster.
#Politics #AlbertaLegislature #majorprojects
globalnews.ca/news/11719437/ot

2026-03-06

Ottawa, Alberta reach prospective agreement on major project assessments
Alberta Premier Danielle Smith says in a news release the agreement is a meaningful step forward and should mean shovels hit the ground faster.
#Politics #AlbertaLegislature #majorprojects
globalnews.ca/news/11719437/ot

Brian Swetlandswetland@chaos.social
2026-03-06

Implementing MD5 as a test case because I want something with a bunch of moving parts, but maybe not as much complexity as fancier more modern hashes.

Embarrassing: spending far too much time debugging what ended up being "pass the wrong length for the test vector", not some fiddly issue with endian shuffling or padding correctness.

#Compiler #Projects

2026-03-06

Metrolinx sheds 400-plus consultants as agency grapples with growing mandate
Michael Lindsay was tapped to lead the Crown corporation in 2025, tasked with refocusing its mandate and bringing years-delayed transit lines into service for the first time.
#Politics #Fordgovernment #Metrolinx #Ontariopolitics
globalnews.ca/news/11718490/me

Brian Swetlandswetland@chaos.social
2026-03-06

Taught the emulator how to import symbols and print backtraces while chasing a bug today...

#Compiler #Projects

### BUILDING STAGE 3A COMPILER USING STAGE 2B COMPILER ###
./out/emu -q ./out/compiler2b.bin -ast out/compiler3a.ast -out out/compiler3a.s32 build/stdlib-abi0.spl compiler/stdlib.spl compiler/types.spl compiler/io.spl compiler/tools.spl compiler/lexer.spl compiler/constexpr.spl compiler/parser.spl compiler/gen-ir.spl compiler/main.spl
ERROR: 00102190: memory read fault: 00000008

PC 00102190  RA 001059bc  SP 000ffa5c  FP 000ffa9c
T0 00000008  T1 00000000  T2 00000010  T3 00000001
00 00000000  04 00000005  08 0048e1f0  12 000ffaac
PC 00102190  FP 000ffa9c  ast_make_symbol + 0x44
PC 001059bc  FP 000ffad4  parse_symbol + 0x8c
PC 00106068  FP 000ffb10  parse_ident + 0x2c
PC 00106a60  FP 000ffb44  parse_primary_expr + 0x5c4
PC 00106d30  FP 000ffb78  parse_unary_expr + 0x24c
PC 00106db4  FP 000ffbb0  parse_mul_expr + 0x38
PC 00106ee0  FP 000ffbe4  parse_add_expr + 0x20
PC 00107000  FP 000ffc1c  parse_rel_expr + 0x38
PC 00107140  FP 000ffc50  parse_and_expr + 0x38
PC 0010727c  FP 000ffc84  parse_expr + 0x38
PC 00109350  FP 000ffcc0  _parse_expr_statement + 0x20
PC 00109708  FP 000ffcfc  parse_expr_statement + 0x3c
PC 00109b80  FP 000ffd34  parse_block + 0x414
PC 00108008  FP 000ffd74  parse_if + 0x84
PC 001099c4  FP 000ffdac  parse_block + 0x258
PC 00109ea4  FP 000ffddc  parse_fn_body + 0x60
PC 0010a464  FP 000ffe34  parse_fn + 0x554
PC 0010ac30  FP 000ffe68  parse_program + 0x180
PC 00110e40  FP 000ffea8  start + 0x404

Alberta outlines 16 new school projects in rural communities and smaller cities
The province announced details Thursday about the locations of 16 new school projects promised in Alberta's smaller cities and rural communities as part of the provincial budget.
cbc.ca/news/canada/calgary/new

Alberta outlines 16 new school projects in rural communities and smaller cities
The province announced details Thursday about the locations of 16 new school projects promised in Alberta's smaller cities and rural communities as part of the provincial budget.
cbc.ca/news/canada/calgary/new

2026-03-05

What do chickens have to do with native trees? Inside our Rwanda project

fed.brid.gy/r/https://blog.eco

<img alt="What do chickens have to do with native trees? Inside our Rwanda project" src="https://blog.ecosia.org/content/images/2026/03/IMG_5095-3-Large.jpeg" /><p>When our Social Media Lead Harriette landed in Kigali with Tree Planting Officer Antonia, she wasn&#x2019;t sure what to expect. She discovered the tension around planting natives vs exotic species, learned that pushing a bus out of a landslide is seriously hard yakka, and experienced the warm hospitality of communities whose lives are being transformed by smallholder agroforestry.&#xa0;</p><p>She shares her experience here:&#xa0;</p><p><strong>Where did you go and which project did you visit?</strong>&#xa0;</p><p>I visited our project with One Acre Fund (OAF) in Rwanda. Antonia and I flew into Kigali then drove south to Huye. From our base there we visited villages in three different regions where we&#x2019;re working with local farmers on an agroforestry project to plant seedlings around their private properties.&#xa0;</p><p><strong>What did a day on-site look like for you?&#xa0;</strong></p><p>We&#x2019;d leave early in the morning to drive to a village where we&#x2019;d meet farmers participating in the program. They toured us around their farms, showing us seedlings they planted recently (in November 2025) as well as from previous years. Some have trees going back to 2020, when the project started.&#xa0;</p><p>They showed us different species, how they&apos;re growing, and the benefits they&#x2019;re seeing &#
Brian Swetlandswetland@chaos.social
2026-03-04

Put together a little diagram of how things get built, from which sources, using which tools, for the little compiler project. Note that the stage3 stuff is where active development is happening now that I've got stage2 able to rebuild itself with itself...

github.com/swetland/spl

#Projects #Compiler

Diagram illustrating how the stage 0 transpiler builds the stage 1 compiler (assisted by gcc), which then builds the stage 2 compiler, which then can rebuild itself from source.
MineEyesDazzleevedazzle@mas.to
2026-03-04

[Houston Parks Board] Sat 7 MAR 9am-Noon, 9303 Forest Dale Street, #Houston, #TX 77078 Join the Forest Dale Tree Planting on Halls Bayou. which includes digging, mulching, moving of soil & planting a variety of plants, including understory & trees. houstonparksboard.volunteerhub #HTX #Texas #Volunteering #Gardening #Farming #Volunteer #Projects #Community #Work #CommunityWork #Environmental #Advocacy

Retro Game BotRetrogamebot
2026-03-03

🎮 Random Retro Game:

Title: Project S-11
Released: 2001-01-03
Platforms: Game Boy Color

-11

Michael 'Mícheál' Muenchmicheal@social.cologne
2026-03-03

@stereo @acccgn @agile A wonderful gathering over three days for cosmopolitan people. They all work on #products #transformations and in #projects.

Awesome crowd. Thanks to our supporters @haufegroup #REWEdigital #RWE @peopleworklearning and people co-creating.

If you are interested to join please get in touch. #Digital #Sovereignty

TestingCatalog News (@testingcatalog)

BREAKING: Google이 Gemini용 'Projects' 기능을 다시 개발 중이며 이번엔 Gemini Enterprise에서 발견되었습니다. 현재로선 일반 소비자 버전으로 확산될지 불명확하지만, 대규모 모델 내 작업·프로젝트 관리 기능 강화 신호로 해석됩니다.

x.com/testingcatalog/status/20

#google #gemini #projects #enterprise

Client Info

Server: https://mastodon.social
Version: 2025.07
Repository: https://github.com/cyevgeniy/lmst