Skip to content
This repository has been archived by the owner on Sep 26, 2023. It is now read-only.

Components validation

Compare
Choose a tag to compare
@j-denisb j-denisb released this 25 Nov 02:28
· 10 commits to master since this release
0a88835
  • Validate component's xml files
    • Warn about absent required attributes
    • Warn about attributes referencing undefined functions
  • Fix syntax parsing issues
    • Float constants recognized with uppercase exponent: 1.2E10, 2D-2
    • Hexadecimal constants can contain lowercase letters: &habcd
    • Allow function as return type
    • Resolve ambiguity in print statement followed by spaces and :
    • Attribute name following @ operator can be reserved word: xml@for, xml@true
  • Additional validations
    • Detect calls to undefined functions
    • Detect name collisions between functions and local variables