A general-purpose language and runtime, in development
Follow a result back to the code.
Myceta programs are built on a typed graph. Every result you name keeps a path back to the functions, inputs and revisions that produced it, so someone else can check it, run it again or apply their own rules.
fn simulate(solar: array<i64<kWh>>, demand: i64<kWh>, battery: i64<kWh>) -> Balance =fold balance = Balance { stored = battery; unserved = 0<kWh> } with produced in solar ->advanceHour(balance, produced, demand, battery)
- Result
StormUnservedis 80 kWh. The town runs short. - BecauseIn hour 6 the battery holds 10 kWh and solar adds 10. Demand is 100.
- BecauseForecast
r2replacedr1. Underr1the same plan ended with 30 kWh left.
What can you build on it?
Programs and libraries
Write ordinary functions, records and reusable modules. Name the results you want to track, test or share.
Take the language tourNative computation with MLIR
Follow an indexed array from source to a native CPU result, and see which input exercised that path.
See the execution exampleApplications across organizations
Share a revision with a second workspace. Its reader can trace the inputs and apply a different local rule.
Read about federationWhere Myceta is today
Myceta is in active development. This is what you can use now and what is still on the way.
Available now
- The interactive studio, which runs the microgrid model in your browser.
- The language guide and reference, with example programs and their tests to download.
- Draft specifications and dated technical notes for implementers.
Not released yet
- The
myccommand line. Its design is published, and there is no public download. - A public compiler. Native execution is shown by a dated development test.
Questions or implementation feedback: [email protected]
The Myceta Papers
What the answer forgets
Producing an answer has become cheap. Knowing what it rests on, whether it still holds and who may act on it has not.