orange4glace / this-is-a-context-free-language-really

Korean context free language

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

this-is-a-context-free-language-really

2018 Summer, Compiler

Demo & Run your code

See Grammar

Example code

[구구단을외자구구단을외자]는 '구구단을 외자 구구단을 외자 '
{구외구외}는 [구구단을외자구구단을외자]
뿅!!! ({구외구외}, '지금부터 ', 38582 곱하기 0 더하기 1, '단 부터 구구단을 외워보자!')
[몇단] 은 1
{구구단의단}은 [몇단]
{구구단의단}이 9보다 작거나 같다일 때 까지
	뿅!! ([몇단], '차례 !')
	[몇번]은 1
	[몇번]이 9보다 작거나 같다일 때 까지
		뿅! ({구구단의단}, ' 곱하기 ', [몇번], '은 ', [몇단] 곱하기 [몇번])
		[몇번]은 [몇번] 더하기 1
	해줘
	[몇단]은 [몇단] 더하기 1
해줘

About

Korean context free language


Languages

Language:JavaScript 85.9%Language:Nearley 10.2%Language:CSS 3.9%