From: Jason M. <agr...@gm...> - 2022-01-31 13:08:41
|
First, does this compile for you without using any Model? Program t.nrx 2 +++ leave +++ ^^^^^ +++ Error: LEAVE without label is not inside LOOP construct Compilation of 't.nrx' failed [one error] Compilation failed. Second, there are still some fringe cases where RxModel does fail. There are three files in NetRexx itself that will fail because of expressions. Mostly stuff like "--" or "++" where NetRexx sorts those out in the next level of code parsing. RxModel works only at the Clause level. If I remember right, DiagExpression.nrx, DiagExpressionUnit.nrx and DiagUTF8.nrx. I did not use it as much with -models2 although it does a pretty good job. I got more use out of it using -model1 to structure the largest files in NetRexx to see exactly where I needed to insert code changes. Lastly, I do need to improve it some and I hope more people find it a useful tool to improve code quality. |