MiniCTRMSearch

MiniCTRM - Build Tutorial 751: A third extension language: .NET beside Java and Python, or .NET from the start

→ to begin · N for the speaker notes

On a phone: Next or a swipe left to begin, Notes for the words.

What you'll learn

The Scripting API as one language-neutral contract with a binding per language; the new language's host - .NET beside a Java or Python system, Python beside a C# one - as a sidecar over a local socket, with the same privileges and time limit as the first host and the file, network and memory walls a sidecar can hold; the glossary generated per language with a whole-script example in each and a test that fails on a missing one; hooks and scheduled scripts in the new language through the same doors; and the honest cost table of every language after the first.

  • Why MiniCTRM hosts two
  • What you need first – The four lessons this one builds on, what it reuses unchanged, and when to take it.
  • The cost of every language after the first – What every new public method costs once more per language, and the alternative that needs no new host.
  • One contract, a binding per language – The API defined once, a binding per language from it, and a test on names, arity and reserved words.
  • The new language's host – A sidecar behind one host interface, with the walls a sidecar can hold, and the first host given the same time limit and privileges.
  • The glossary per language – A tab per language generated from the one contract, an example per method in every language, and the editor.
  • Hooks, schedules and the rules – The same dispatcher and scheduler, the cost table written down, and four lines in CLAUDE.md.
  • Ship it – /ship, with the contract, host and glossary tests among the rest.
  • How MiniCTRM did it – The API Glossary in two languages, and the Script Editor with its two runtimes.

Before you start

The lessons this one builds on: 512 Choosing the language: Java, Python or .NET, 611 Scripting: an editor, a public API with a glossary, hooks on save, 633 Security: sign-in, privileges on every endpoint, audit, secrets, 653 An MCP server for your system: the desk's questions and actions as tools.

Copyright 2026-2027 Brian Shydlo. MiniCTRM is source-available under the PolyForm Strict License 1.0.0 (https://polyformproject.org/licenses/strict/1.0.0): free for learning and other noncommercial use; no changes and no redistribution; commercial use needs permission.

Welcome

One is necessary, two is generous, three is a decision

1 / 12
One is necessary, two is generous, three is a decision
Why MiniCTRM hosts two

Why MiniCTRM hosts two

2 / 12
Why MiniCTRM hosts two
What you need first

What you need first

3 / 12
What you need first
The cost of every language after the first

What every language costs, every time

4 / 12
What every language costs, every time
One contract, a binding per language

One contract, a binding per language

5 / 12
One contract, a binding per language
The new language's host

The new language's host: a sidecar beside the first

6 / 12
The new language's host: a sidecar beside the first
The glossary per language

The glossary, once per language

7 / 12
The glossary, once per language
Hooks, schedules and the rules

Hooks, schedules and the rules

8 / 12
Hooks, schedules and the rules
Ship it

Ship it

9 / 12
Ship it
How MiniCTRM did it

The API Glossary: the tax made visible

10 / 12
The API Glossary: the tax made visible
How MiniCTRM did it

The Script Editor: two runtimes, one seam

11 / 12
The Script Editor: two runtimes, one seam
What you have now

What you have now

12 / 12
What you have now

You have finished lesson 751, A third extension language: .NET beside Java and Python, or .NET from the start.

Where next?

← → move · N notes · Home / End