From: Arseny Maslennikov <arseny@altlinux.org> To: ALT Linux Team development discussions <devel@lists.altlinux.org> Subject: Re: [devel] rpm preprocessort Date: Sat, 9 Dec 2023 18:32:07 +0300 Message-ID: <ZXSIdwsn4tMzWIQ6@cello> (raw) In-Reply-To: <m3msukmu9p.fsf@ryzen.chizhovka.net> [-- Attachment #1: Type: text/plain, Size: 1437 bytes --] On Fri, Dec 08, 2023 at 10:19:46PM +0400, Aleksey Cheusov wrote: > Привет всем. > > Совершенно случайно никто не встречал в природе > программульки или библиотеки, которая бы реализовывала > в точности текстовый препроцессор по типу rpm > только без зачитки rpm-ных системных макросов? Давно мечтаем увидеть такой препроцессор, отдельный от rpm. Правда, он не будет в полной мере совместим с rpm без функции system(3), в которую раскрывается %(). :( > То есть, нужен тестовый препроцессор общего назначения a la m4/cpp > c опциями -D macro=value, -Umacro, -f file. rpm-совместимый и общего назначения — совсем разные макропроцессоры для разных целей. Если хотите именно общего назначения: Jinja[1] и её многочисленные порты под другие системы программирования не пробовали? Она, правда, значительно более развита, чем m4. [1] https://jinja.palletsprojects.com/en/3.1.x [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2023-12-09 15:32 UTC|newest] Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top 2023-12-08 18:19 Aleksey Cheusov 2023-12-09 0:24 ` Leonid Krivoshein 2023-12-10 18:53 ` Aleksey Cheusov 2023-12-09 15:32 ` Arseny Maslennikov [this message] 2023-12-09 16:07 ` Andrey Savchenko 2023-12-10 18:58 ` Aleksey Cheusov
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=ZXSIdwsn4tMzWIQ6@cello \ --to=arseny@altlinux.org \ --cc=devel@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux Team development discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \ devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru public-inbox-index devel Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.devel AGPL code for this site: git clone https://public-inbox.org/public-inbox.git