arcanis
5ad8a2a7d0
fix: improve parsing of escaped symbols inside string
2026-10-30 16:16:50 +02:00
arcanis
9e5468313e
feat: migrate pkgbuild parser to tree-sitter ( #168 )
2026-10-19 23:10:58 +03:00
arcanis
c8421e97ee
fix: fix pkgbuild parsing in case if comment mark is followed by token
...
without whitespaces
In this case, the next line was ignored
2024-12-23 15:55:07 +02:00
arcanis
f09082dff2
fix: fix parsing pkgbuild in case if comment starts with multiple sharps ( #136 )
2024-11-13 17:56:27 +02:00
arcanis
d6cdb5bea5
fix: fix pkgbuild parsing in some cases
...
It has been found that there are two cases in which pkgbuild was not
parsed correctly
1. Major case in which there is quotation mark inside comment line,
which would cause ValueError: No closing quotation error
2. Minor case, if there are utf symbols in pkgbuild file (e.g.
hieroglyphs, see ttf-google-fonts-git), it will case incorrect
reading in `_is_escaped` method
2024-09-26 16:48:38 +03:00
arcanis
62320e8ec6
feat: drop explicit makepkg usage ( #134 )
...
* generate filenames without using makepkg
* pkgbuild parser impl
* completely remove makepkg calls
* simplify typed get
* try to improve parser
* docs and recipes updatte
* never raise keyerror instead return empty string
* udpate tests
* add support of array expansion
* docs update
* tests update
* handle quoted control sequences correctly
* expand bash
* allow packages without package function
* docs update
* add moroe tests
* small improovements
* support escaped arrays and functions
2024-09-21 03:57:22 +03:00