blob: 97410558964d468c351bdb577d6756feb31af0d8 (
plain)
1
2
3
4
5
6
7
8
|
name = 'number/2'
slug = 'numbers with potential leading zeros'
description = '''\
<p>Write a DCG with the starting symbol <code>number</code> for the language of non-negative integers. The numbers may include leading zeros.</p>
<p>Example words: <code>123</code>, <code>54</code>, <code>0122</code>, <code>0001221</code>, <code>0</code>.</p>'''
hint = {}
|