SFWR 4TB3

SkillDev tools

Solve SFWR 4TB3 notebook exercises and explain or extend the course's P0 compiler.

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the SFWR 4TB3 skill

What this skill tells your AI

The instructions your AI receives, as published by aarnphm/aarnphm.github.io in .agents/skills/sfwr-4tb3/SKILL.md and read by ahel’s review.

Course material lives under content/thoughts/university/twenty-five-twenty-six/sfwr-4tb3/. Start with the supplied question and notebook. If only a lab, assignment, or title is given, use the content index to locate it. Read the relevant cells and local module copies; assignment snapshots can differ from lecture copies.

The question, executable definitions, and test cells determine the required answer. References below are summaries and navigation aids. Verify exact APIs, error handling, translation schemes, and register conventions in the target notebook before relying on a summary. For an unavailable JupyterHub question, locate its local mirror; request the exact cells if the mirror lacks the question.

Load only the reference relevant to the task:

TopicReference
Course and module layoutOverview
Grammars, derivations, BNF/EBNF, generatorsSyntax
Regex, automata, counted repetitionRegular languages
PDA, FIRST/FOLLOW, LL/LRContext-free languages
Attribute grammars, ASTs, type checkingSyntax-directed translation
SC, ST, P0, error handlingParser
WAT translation and memory layoutStack target
Sets, floats, exceptions, indirect callsData types
RISC-V/MIPS and register allocationRISC target
CSE, LICM, strength reductionOptimization
Earley, PEG, packrat, probabilistic parsingGeneralized parsing
Lab/assignment 11 exercisesLab 11
Choosing an approach to an exerciseExam playbook

Preserve the notebook's signatures, AST names, notation, and module boundaries. A syntax extension may lower to existing primitives; add a new AST node only when the question or required semantics calls for one. Assignment 5's counted repetition uses repeat/repeatRange, while an exercise supplying Exp requires its own case.

For explanations, show the requested derivation, table, or code with the course's notation. For implementation requests, edit the assignment-local copy and run the relevant supplied test cells, fixing failures introduced by the change. Distinguish executed results from hand-derived output. Report missing runtimes or notebook cells precisely, and complete the reasoning that remains possible.

Signals

GitHub stars
24
Last commit
Sep 2026
Advanced
Catalog kind
skill
Gateway key
sfwr-4tb3
Source
github.com/aarnphm/aarnphm.github.io
SFWR 4TB3 (sfwr-4tb3): Skill · ahel