File tree Expand file tree Collapse file tree
.machine_readable/contractiles/must
lithoglyph/.github/workflows Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3131 # Exclude .d.ts files - those are TypeScript type declarations for ReScript FFI
3232 TS_FILES=$(find . \( -name "*.ts" -o -name "*.tsx" \) | grep -v node_modules | grep -v 'bindings/deno' | grep -v '\.d\.ts$' || true)
3333 if [ -n "$TS_FILES" ]; then
34- echo "❌ TypeScript files detected - use ReScript instead"
34+ echo "❌ TypeScript files detected - use AffineScript instead"
3535 echo "$TS_FILES"
3636 exit 1
3737 fi
6767 - name : Check for tsconfig
6868 run : |
6969 if [ -f "tsconfig.json" ]; then
70- echo "❌ tsconfig.json detected - use ReScript instead"
70+ echo "❌ tsconfig.json detected - use AffineScript instead"
7171 exit 1
7272 fi
7373 echo "✅ No tsconfig.json"
Original file line number Diff line number Diff line change 1818 NEW_JS=$(git diff --name-only --diff-filter=A HEAD~1 2>/dev/null | grep -E '\.(js|jsx)$' | grep -v '\.res\.js$' | grep -v '\.gen\.' | grep -v 'node_modules' || true)
1919
2020 if [ -n "$NEW_TS" ] || [ -n "$NEW_JS" ]; then
21- echo "❌ New TS/JS files detected. Use ReScript instead."
21+ echo "❌ New TS/JS files detected. Use AffineScript instead."
2222 [ -n "$NEW_TS" ] && echo "$NEW_TS"
2323 [ -n "$NEW_JS" ] && echo "$NEW_JS"
2424 exit 1
Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ These are hard requirements — CI and pre-commit hooks fail if any check fails.
8383- severity: warning
8484
8585### no-python
86- - description: No Python files (use Julia/Rust/ReScript )
86+ - description: No Python files (use Julia/Rust/AffineScript )
8787- run: test -z "$(find . -name '*.py' -not -path '*/deps/*' -not -path '*/node_modules/*' 2>/dev/null)"
8888- severity: warning
8989
Original file line number Diff line number Diff line change 3030 # Exclude .d.ts files - those are TypeScript type declarations for ReScript FFI
3131 TS_FILES=$(find . \( -name "*.ts" -o -name "*.tsx" \) | grep -v node_modules | grep -v 'bindings/deno' | grep -v '\.d\.ts$' || true)
3232 if [ -n "$TS_FILES" ]; then
33- echo "❌ TypeScript files detected - use ReScript instead"
33+ echo "❌ TypeScript files detected - use AffineScript instead"
3434 echo "$TS_FILES"
3535 exit 1
3636 fi
6666 - name : Check for tsconfig
6767 run : |
6868 if [ -f "tsconfig.json" ]; then
69- echo "❌ tsconfig.json detected - use ReScript instead"
69+ echo "❌ tsconfig.json detected - use AffineScript instead"
7070 exit 1
7171 fi
7272 echo "✅ No tsconfig.json"
Original file line number Diff line number Diff line change 1717 NEW_JS=$(git diff --name-only --diff-filter=A HEAD~1 2>/dev/null | grep -E '\.(js|jsx)$' | grep -v '\.res\.js$' | grep -v '\.gen\.' | grep -v 'node_modules' || true)
1818
1919 if [ -n "$NEW_TS" ] || [ -n "$NEW_JS" ]; then
20- echo "❌ New TS/JS files detected. Use ReScript instead."
20+ echo "❌ New TS/JS files detected. Use AffineScript instead."
2121 [ -n "$NEW_TS" ] && echo "$NEW_TS"
2222 [ -n "$NEW_JS" ] && echo "$NEW_JS"
2323 exit 1
Original file line number Diff line number Diff line change 3030 # Exclude .d.ts files - those are TypeScript type declarations for ReScript FFI
3131 TS_FILES=$(find . \( -name "*.ts" -o -name "*.tsx" \) | grep -v node_modules | grep -v 'bindings/deno' | grep -v '\.d\.ts$' || true)
3232 if [ -n "$TS_FILES" ]; then
33- echo "❌ TypeScript files detected - use ReScript instead"
33+ echo "❌ TypeScript files detected - use AffineScript instead"
3434 echo "$TS_FILES"
3535 exit 1
3636 fi
6666 - name : Check for tsconfig
6767 run : |
6868 if [ -f "tsconfig.json" ]; then
69- echo "❌ tsconfig.json detected - use ReScript instead"
69+ echo "❌ tsconfig.json detected - use AffineScript instead"
7070 exit 1
7171 fi
7272 echo "✅ No tsconfig.json"
Original file line number Diff line number Diff line change 1717 NEW_JS=$(git diff --name-only --diff-filter=A HEAD~1 2>/dev/null | grep -E '\.(js|jsx)$' | grep -v '\.res\.js$' | grep -v '\.gen\.' | grep -v 'node_modules' || true)
1818
1919 if [ -n "$NEW_TS" ] || [ -n "$NEW_JS" ]; then
20- echo "❌ New TS/JS files detected. Use ReScript instead."
20+ echo "❌ New TS/JS files detected. Use AffineScript instead."
2121 [ -n "$NEW_TS" ] && echo "$NEW_TS"
2222 [ -n "$NEW_JS" ] && echo "$NEW_JS"
2323 exit 1
Original file line number Diff line number Diff line change @@ -163,7 +163,7 @@ cargo fmt --check
163163
164164### Not Accepted
165165
166- - TypeScript (use ReScript instead)
166+ - TypeScript (use AffineScript instead)
167167- Python (use Rust or Julia instead)
168168- Go (use Rust instead)
169169- Node.js/npm/bun (use Deno if JS runtime needed)
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ toc::[]
4747│ └── VeriSim.MiniKanren (v3: constraint solving) ◄─ NEW │
4848│ ↓ FFI/NIFs │
4949├─────────────────────────────────────────────────────────────┤
50- │ miniKanren Logic Engine (Rust or ReScript binding) │
50+ │ miniKanren Logic Engine (Rust or AffineScript binding) │
5151│ ├── Query plan constraint solver │
5252│ ├── Normalization rule synthesizer │
5353│ └── Drift repair strategy generator │
You can’t perform that action at this time.
0 commit comments