Nepedia
Back to Discover
Developing Reader
🔢

Formal grammar

math Maturity 11-13 Next article →

Rules can help us make a language.

Terminal and non-terminal symbols example
Terminal and non-terminal symbols example

These rules are like a game. You start with one special symbol. Then, you use rules to change it. Rules turn one set of symbols into another. Some symbols are just parts of a word. Other symbols are tools to help you change things. You keep changing them until you are done. This can make many different strings. It is a way to build patterns. Rules help us see how things are made.

80 words

Where will your curiosity go next?

Keep exploring at your chosen reading level.

🖼️ Images & Media (1)
File:Terminal and non-terminal symbols example.png
Terminal and non-terminal symbols example.png
More to explore

What is Nepedia?

A free, ad-free encyclopedia for children. Every article is written at five reading levels, so the same page works for a five-year-old and a fifteen-year-old — use the level switcher above to see this one change. No account needed to read.