Skip to content

🔤 Typed Grammar

Typed Grammar creates TypeScript type-level libraries for expressing grammatically correct natural language. Our goal is to leverage TypeScript's powerful type system to help understand, learn, and verify the grammar rules of different languages.

🚀 Projects

  • Typed Japanese - Our first prototype implements Japanese grammar as a TypeScript type system, enabling grammatically correct sentences to be annotated by TypeScript.
  • Typed English - Currently in development, applying similar principles to English grammar.

🔮 Vision

We aim to create practical tools for language learners, educators, and developers by representing grammar rules through TypeScript's type system. These libraries can serve as:

  • Educational tools for understanding grammar through code
  • Intermediate formats for AI-assisted language learning
  • Grammar verification systems
  • Foundation for typed natural language tools

This is an early-stage initiative. We're focusing on building solid implementations for a few languages before expanding further.

📬 Contact

For collaborations, contributions, or inquiries, please reach out to contact@typedgrammar.com.

Popular repositories Loading

  1. typed-japanese typed-japanese Public

    Learn Japanese grammar with TypeScript

    TypeScript 1.3k 10

  2. typed-english typed-english Public

    Learn English grammar with TypeScript

    TypeScript 37

  3. .github .github Public

    1

Repositories

Showing 3 of 3 repositories
  • typed-japanese Public

    Learn Japanese grammar with TypeScript

    typedgrammar/typed-japanese’s past year of commit activity
    TypeScript 1,288 MIT 10 2 0 Updated Mar 29, 2025
  • typed-english Public

    Learn English grammar with TypeScript

    typedgrammar/typed-english’s past year of commit activity
    TypeScript 37 MIT 0 0 0 Updated Mar 27, 2025
  • .github Public
    typedgrammar/.github’s past year of commit activity
    1 0 0 0 Updated Mar 23, 2025

Top languages

TypeScript

Most used topics

Loading…