Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2018-11

editorconfig support

4 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Dmitry Boyarintsev
to Dmitry Boyarintsev

On Wed, Nov 21, 2018 at 10:43 AM Dmitry Boyarintsev <

Show quoted text 7 lines
wrote: if anyone is interested, I've started a support of editorconfig https://github.com/skalogryz/editorConfig for Pascal in general (which you can use in your editor project), as well as Lazarus IDE extension

With the last revision made, the code currently satisfies 100% (191 of 191) editorConfig Core tests!
The code doesn't depend on anything but RTL (classes, sysutils units). And some pieces are also written w/o RTL dependency.

The specs of editorConfig require parsing of file masks, in a certain manner.
Obviously, since all the tests are being completed, the code is working.

But are there any Pascal libraries already available that can perform file masks parsing?
As well as bash expression processing? Specifically Brace Expansion: https://www.gnu.org/software/bash/manual/html_node/Brace-Expansion.html

thanks,
Dmitry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20181203/94e70f29/attachment.html>

Reply by email

Bart
to Dmitry Boyarintsev
AM Dmitry Boyarintsev wrote
But are there any Pascal libraries already available that can perform file masks parsing?

Masks unit (/components/lazutis folder of Lazarus)? This however assumes all strings are UTF8 and requires the LazUtf8 unit.

It could easily be rewritten to handle singe-byte encoded strings though (it was so in th eold days, I rewrote it to be UTF8 compatible in the past).

Bart

Reply by email