Changes

Jump to navigation Jump to search
568 bytes added ,  17:48, 3 May 2019
no edit summary
tokens.append(line)
print(line)
 
What we just did is opening a DSL file, going through every single line, stripping some symbols and store all the tokens in a list. The ```tokens``` variable now looks something like this
['header ',
'btn-inactive, btn-active, btn-inactive, btn-inactive, btn-inactive',
'',
'row ',
'quadruple ',
'small-title, text, btn-orange',
'',
'quadruple ',
'small-title, text, btn-red',
'',
'quadruple ',
'small-title, text, btn-green',
'',
'quadruple ',
'small-title, text, btn-orange',
'',
'',
'row ',
'single ',
'small-title, text, btn-green',
'',
'']
82

edits

Navigation menu