Pārlūkot izejas kodu

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 pirms 1 gada
vecāks
revīzija
dcbef49750
1 mainītis faili ar 416 papildinājumiem un 129 dzēšanām
  1. +416
    -129
      minproto.leg

+ 416
- 129
minproto.leg
Failā izmaiņas netiks attēlotas, jo tās ir par lielu
Parādīt failu


Notiek ielāde…
Atcelt
Saglabāt