On Thu, Mar 17, 2016 at 11:14 AM, Christopher Deluca <
[email protected]> wrote:

> I have been using ack for a while and want to say great work all around.
>

​Thank you ! Always nice to hear that.
​


> I would like to float the possibility of adding TOML language support to
> the filetypes ack supports.
> https://github.com/toml-lang/toml
>

​
​It's a possibility.
Have ​you experimented with

http://beyondgrep.com/documentation/ack-2.14-man.html#defining_your_own_types

http://beyondgrep.com/documentation/ack-2.14-man.html#can_i_make_ack_recognize__xyz_files

​That's the first step (and perhaps sharing those ACKRC bits with other
fans of TOML).
Then reporting here what worked after you used your custom --type=toml for
a while.
​


> While maybe not as popular as YAML, it's got a strong following.
>

​120 contributors is a decent community for a file format.
And nicely Polyglot portable.
As a text config file format ​it is aimed at a code dev community and
perhaps their command-line savviest users, so within our target space.

Usage on CPAN is already non-zero
  https://metacpan.org/requires/distribution/TOML?sort=[[2,1]]
​so bears watching at a minimum.​

  «TOML is designed to map unambiguously to a hash table. »
>

I like it already !  :-)

​In TOML format, you must make use of ack's -A7 and -C3 args, since we
eschew multiline matches or paragrep mode? ​

-- 
Bill Ricker
[email protected]
https://www.linkedin.com/in/n1vux

-- 
You received this message because you are subscribed to the Google Groups "ack 
users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/ack-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to