L0154 -- Interactive Magic Square Math Puzzles

L0154 is a Graffiticode language for creating interactive magic square math puzzles. It compiles a domain-specific vocabulary into grid-based exercises rendered with LaTeX (via KaTeX) and editable tables (via ProseMirror).

What it does

L0154 lets you define magic square puzzles where learners fill in grid cells to reach target sums. The language handles generating the grid, embedding mathematical notation, and providing real-time validation — incorrect cell sums are highlighted visually so learners get immediate feedback.

Key capabilities

  • Generate magic squares with customizable target sums
  • Configure grid dimensions using table structure definitions
  • Embed LaTeX expressions for mathematical notation
  • Create editable table interfaces with real-time validation
  • Control initialization and feedback behavior

Links