Selaa lähdekoodia

Exceptions are supported with syntax "try {} catch (e) {}", "try {} ensure {}", and "raise e". Add catch to the list of words that can end an expression statement. Most runtime errors are reported using exceptions when EXCEPTIONS=1. Add String_repeat() supporting multiplying a string and an integer. Illegal escape sequence in a string is a warning not an error. Break and continue work properly in while(). ForFromTo evaluates its start and end arguments. Rename primitive fatal() to error().

master
Ian Piumarta 11 kuukautta sitten
vanhempi
commit
dcbef49750
1 muutettua tiedostoa jossa 416 lisäystä ja 129 poistoa
  1. +416
    -129
      minproto.leg

+ 416
- 129
minproto.leg
File diff suppressed because it is too large
Näytä tiedosto


Ladataan…
Peruuta
Tallenna