Przeglądaj źródła

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 1 rok temu
rodzic
commit
dcbef49750
1 zmienionych plików z 416 dodań i 129 usunięć
  1. +416
    -129
      minproto.leg

+ 416
- 129
minproto.leg
Plik diff jest za duży
Wyświetl plik


Ładowanie…
Anuluj
Zapisz