Skip to content
@mks-lang

mks-lang

MKS

MKS is an interpreted programming language written in C.

It is designed around a minimal but expressive syntax and a custom runtime.


Features

  • Dynamic typing
  • AST-based execution
  • Custom syntax (-> <-, =:)
  • Functions and control flow
  • Arrays and basic methods
  • Mark-sweep garbage collector

Example

fnc fib(n) ->
    if (n < 2) ->
        return n;
    <-
    return fib(n - 1) + fib(n - 2);
<-

Writeln(fib(10));

Goal

To build a minimal and flexible language with its own runtime and clear internal structure.


Status

Work in progress.

Pinned Loading

  1. MKS-interpreter MKS-interpreter Public

    C 1

Repositories

Showing 3 of 3 repositories

Top languages

Loading…

Most used topics

Loading…