Hacker GitHub

← All repos

bbu/quaint-lang

View on GitHub ↗ ★ 65 C

An experimental statically typed procedural language with first-class resumable functions.

9 mentions on Hacker News by 2 people: 2 stories, 7 comments · first 2016-04-15 · latest 2023-06-22

Mentions per year 9 mentions · busiest year 2016 (8)
20082026
  1. …the execution of the function either after reaching a timeout, or after passing a "wait label": https://github.com/bbu/quaint-lang A typical CPU-intensive example where preemption is done by the caller after a certain timeout: entry {…
    comment by bluetomcat · 2023-06-22 · in Coroutines make robot code easy
  2. …// int(*)(void) fp; Here is how I designed the type declaration syntax in my own language, Quaint ( https://github.com/bbu/quaint-lang ): pa: ptr(int[3]); // int (*pa)[3] fp: fptr(): int; // int (*fp)(void) arr: int[5]; // int arr[5] p:…
  3. …a memory-unsafe, manual MM, non-OO, thread-denying language that preserves most of the C semantics? https://github.com/bbu/quaint-lang
    comment by bluetomcat · 2016-08-04 · in Crystal: Fast as C, Slick as Ruby
  4. …parr: ptr(int[20]); // int (*parr)[20] fp: fptr(a: int, b: int): long; // long (*fp)(int a, int b) https://github.com/bbu/quaint-lang
  5. …also currently developing a "real" language that is based on the same lexing and parsing machinery: https://github.com/bbu/quaint-lang
  6. …Upon the end of a statement in the HLL, all values in the temporary space are discarded. Reference: https://github.com/bbu/quaint-lang/blob/master/src/exec.c
  7. The Quaint programming language: https://github.com/bbu/quaint-lang I think the strengths of the C code are: straightforward algorithms without many nonsensical abstraction layers, consistent and clean formatting, sane usage of the…