Change generic tag-in-script syntax for Box Script to prefix with bx:

Description

So

becomes

and

becomes:

The components (tags) excepted from this rule are:

  • transaction

  • lock

  • thread

  • abort

  • exit

  • return

  • continue

  • break

These components have first-class status in script and can be used without the bx: prefix.

Activity

Show:

Brad Wood January 15, 2025 at 12:13 AM
Edited

The CF Script grammar is left untouched BTW, still supporting the existing Lucee and Adobe syntaxes.

So the break down of generic tag-in-script syntax by engine is

  • Adobe CF: cfTagName( attr="value", attr="value" )

  • Lucee: tagName attr="value" attr="value";

  • BoxLang: bx:tagName attr="value" attr="value";

Lucee also supports Adobe’s syntax and BoxLang also supports Lucee’s and Adobe’s syntax in .CFC and .CFM files.

Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Fix versions

Priority

Sentry

Created January 15, 2025 at 12:12 AM
Updated January 15, 2025 at 12:21 AM
Resolved January 15, 2025 at 12:13 AM