CordyJ / OpenTxl

TXL programming language compiler/interpreter
Other
18 stars 1 forks source link

resource limits #37

Open CordyJ opened 4 months ago

CordyJ commented 4 months ago

At the moment both time and size limits are specified using -s. There should be separate limits for size and time.

Also, error messages for limits should be more accurate. For example, this message:

[issue558.ets, txl/tsaudit.txl] : TXL0510E rule/function 'auditUIZeroWidthSpace' - (TXL implementation limit) Transform recursion limit exceeded (Probable cause: infinite recursio
n, small size or stack limit)

Almost always means an infinite loop in the rule, not a problem with size.