Parcourir la source

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 il y a 11 mois
Parent
révision
dcbef49750
1 fichiers modifiés avec 416 ajouts et 129 suppressions
  1. +416
    -129
      minproto.leg

+ 416
- 129
minproto.leg
Fichier diff supprimé car celui-ci est trop grand
Voir le fichier


Chargement…
Annuler
Enregistrer