Closed HKalbasi closed 4 years ago
In the readme example,
moo.compile({ IDEN: {match: /[a-zA-Z]+/, type: moo.keywords({ KW: ['while', 'if', 'else', 'moo', 'cows'], })}, SPACE: {match: /\s+/, lineBreaks: true}, })
Is not working, I think it should be replaced with
moo.compile({ IDEN: {match: /[a-zA-Z]+/, keywords : { KW: ['while', 'if', 'else', 'moo', 'cows'], }}, SPACE: {match: /\s+/, lineBreaks: true}, })
I think you need to upgrade moo :)
In the readme example,
Is not working, I think it should be replaced with