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
20082026
-
…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 -
…// 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:…
comment by bluetomcat · 2016-12-22 · in A convenient untruth: Array notation in C is a lie -
▲ 4
Quaint: a C-like language with first-class resumable functionsstory by bshanks · 2016-08-04 · 0 comments
-
…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 -
…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
comment by bluetomcat · 2016-07-07 · in Building a C Compiler Type System – Part 1: The Formidable Declarator -
…also currently developing a "real" language that is based on the same lexing and parsing machinery: https://github.com/bbu/quaint-lang
comment by bluetomcat · 2016-06-22 · in Show HN: Writing my first interpreter in C for fun -
…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
comment by bluetomcat · 2016-05-01 · in Design of the RISC-V Instruction Set Architecture [pdf] -
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…
comment by bluetomcat · 2016-05-01 · in Ask HN: What are examples of GitHub repositories with high code quality? -
▲ 4
Show HN: Quaint – a statically typed language with seamless resumable functionsstory by bluetomcat · 2016-04-15 · 3 comments