News for hackers. Stuff that matters.
Re:XMLUI by btown on Sunday July 20, 2025 @04:20PM (#44628941)
Just ship https://github.com/NeilFraser/JS-Interpreter and you’re good to go! /s
Re:XMLUI by btown on Sunday July 20, 2025 @06:38PM (#44630032)
As a follow-up: Angular actually did this! https://docs.angularjs.org/guide/expression

> AngularJS does not use JavaScript's eval() to evaluate expressions. Instead AngularJS's $parse service processes these expressions.

Re:XMLUI by cluckindan on Monday July 21, 2025 @07:57AM (#44634155)
Note that those are the AngularJS aka ”Angular 1” docs.

For Angular as in ”Angular 2” docs, see https://angular.dev/guide/templates/expression-syntax

Re:XMLUI by cluckindan on Monday July 21, 2025 @01:35AM (#44632084)
Looks like they actually went this route, but implemented it from scratch.