nandi/frqpublic Fork 0
1d62d1a437b844c37e3e4d49efa7e255ef4deac7
Commits
Clone
git clone https://git.rickub.com/nandi/frq.git
git clone ssh://git@rickub.com/nandi/frq.git

Host key fingerprint (ed25519): SHA256:iycHnxEyq0Q7uyVpB7JlznP0G7JrTPXLYRcAU5CSLhc — verify it before your first connect.

Nim owns the screen, Dart owns the pixels 43a02c2 · on 1d62d1a437b844c37e3e4d49efa7e255ef4deac7 · nandi · 19h ago
main_nim.dart · 16 lines · 717 BDart Blame HistoryRaw
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
/// The spike's entry point: a Flutter app whose screens come from Nim.
///
/// No ClojureDart anywhere on this path — not `frq.main`, not `common/`, not
/// a `.cljd` file. Flutter starts, asks Nim for a tree, and paints it; every
/// tap and keystroke goes back as an event id. That is the whole program.
///
///   just nim-spike
///
/// It renders the connect screen, which is the one with enough in it to be a
/// real test: text fields that must keep a controller, a checkbox whose tick
/// changes another field, mode buttons that swap which fields exist, and an
/// error that appears and dismisses.
import 'package:flutter/material.dart';
import 'nim_renderer.dart';

void main() => runApp(const NimApp());