changed 'for' command syntax, now it's multivariable; added a new operator to define... 2.6.1
commit2e1f90351a1275a611a4970cf904dba0101e64d0
authorFrancesco Palumbo <phranz@subfc.net>
Tue, 21 Feb 2023 19:35:42 +0000 (21 20:35 +0100)
committerFrancesco Palumbo <phranz@subfc.net>
Tue, 21 Feb 2023 19:35:42 +0000 (21 20:35 +0100)
tree63976689dedea9b81105c02d2ee0509b177a46df
parent316fdfe665cf3cb483e865492266a57aa0248322
changed 'for' command syntax, now it's multivariable; added a new operator to define attributes (.=); added a new operator to express numerical ranges (ex. 1..100) and removed 'range' function; added 'int' function; removed style attribute 'background-image', now its functionality is merged into 'background' attribute (if the value begins with a slash '/', then it's treated as an image file); added an optional block (after element) specifying initial width and height into element expressions (ex. |b{90,90}|); improved wait/poll code; fixe wrong block parsing when tokenizing; added additional examples; minor changes.
30 files changed:
README.md
changelog.md
examples/pactions.gsh
examples/slider.gsh
examples/spiral.gsh [copied from examples/slider.gsh with 53% similarity]
examples/splitterm.gsh
man/guish.1
src/evaluator.c
src/main.c
src/main.h
src/sourcedriver.c
src/syntax.c
src/syntax.h
src/tokenizer.c
src/tokenizer.h
src/widget.c
src/widget.h
src/widgets/button.c
src/widgets/button.h
src/widgets/checkbox.c
src/widgets/checkbox.h
src/widgets/input.c
src/widgets/input.h
src/widgets/label.c
src/widgets/label.h
src/widgets/page.c
src/widgets/page.h
src/widgets/trans.c
src/widgets/trans.h
tests/unit/evaluator.sh