hedy
hedy copied to clipboard
[Language idea] add extra rule for forgotten command?
Language idea incl level
Shall we add an extra gramma rule for text without a command in front (f.e. this in level 4 and up) so we can throw an exception?
print 'Welkom bij de mcHedy!'
'Bedankt voor uw bestelling.'
I am seeing this quite a lot in the logs.
I'll take this one!
Hi, have question. What you mean is a particular exception for quoted text without a command on front, something like: "You can't output text without a print
first!" something like that?
Something like that, yes! I think we already have an exception somewhere for a forgotten command so we can use that one.