packages feed

lentil 1.5.8.0 → 1.5.9.0

raw patch · 7 files changed

+53/−8 lines, 7 filesdep ~base

Dependency ranges changed: base

Files

+ authors.txt view
@@ -0,0 +1,24 @@+(in alphabetical order)++Michał Antkiewi+Francesco Ariis+Dmitry Bogatov+Damien Couroussé+Ben Franksen+Artyom Kazak+Anton Felix Lorenzen+Rodney Lorrimar+Francesco Mazzoli+Eric Mertens+Simon Michael+Luca Molteni+Luke Murphy+Qptain Nemo+Mats Rauhala+Stefano Rodighiero+Peter Simons+Henning Thielemann+Tomislav+Tuncer Ayaz+YongJoon Joe+Massimo Zaniboni
changes.txt view
@@ -1,3 +1,10 @@+1.5.9.0+-------++- Added support for Scheme (`.scm`, `.ss`) and Lisp (`.lisp`, `.lsp`,+  `.l`, `.cl`, `.fasl`) languages (thanks to Christoph Breitkopf for+  providing relevant documentation).+ 1.5.8.0 ------- 
doc/usr/page.rst view
@@ -192,6 +192,8 @@ - YAML files (``.yaml``, ``.yml``) - LaTeX files (``.tex``) - Zig files (``.zig``)+- Scheme files (``.scm``, ``.ss``)+- Lisp files (``.lisp``, ``.lsp``, ``.l``, ``.cl``, ``.fasl``) - plain text files (``.txt``)  If you want a file type ``.xyz`` to be recognised as one in the list above,
lentil.cabal view
@@ -1,6 +1,6 @@ cabal-version:       3.0 name:                lentil-version:             1.5.8.0+version:             1.5.9.0 synopsis:            frugal issue tracker description:         minumum effort, cohesive issue tracker based on                      ubiquitous @TODO@s and @FIXME@s conventions.@@ -58,7 +58,8 @@                      test/test-files/test-proj/upper/prova2.cPp,                      test/test-files/test-proj/upper/prova3.Cpp,                      test/test-files/test-proj/upper/prova.F-extra-doc-files:     README, changes.txt, doc/usr/page.rst, doc/usr/test.zip+extra-doc-files:     README, changes.txt, doc/usr/page.rst, doc/usr/test.zip,+                     authors.txt  flag developer   description: developer mode - warnings let compilation fail@@ -68,7 +69,7 @@  executable lentil   main-is:             Main.hs-  build-depends:       base >= 4.9 && < 5.0,+  build-depends:       base == 4.*,                        bytestring == 0.12.*,                        prettyprinter == 1.7.*,                        prettyprinter-ansi-terminal >= 1.1.3 && < 1.2,@@ -78,10 +79,10 @@                        directory    >= 1.2 && < 1.4,                        filemanip==0.3.*,                        filepath >=1.4 && <1.6,-                       megaparsec >= 8.0 && < 9.7,+                       megaparsec >= 8.0 && < 9.8,                        mtl >=2.2 && <2.4,                        natural-sort==0.1.*,-                       optparse-applicative >= 0.16 && < 0.19,+                       optparse-applicative >= 0.16 && < 0.20,                        regex-tdfa >= 1.2 && < 1.4,                        semigroups >= 0.18 && < 0.21,                        text >=1.2 && <2.2,@@ -116,10 +117,10 @@                        dlist >= 0.8 && < 1.1,                        filemanip==0.3.*,                        filepath >=1.4 && <1.6,-                       megaparsec >= 8.0 && < 9.7,+                       megaparsec >= 8.0 && < 9.8,                        mtl >=2.2 && <2.4,                        natural-sort==0.1.*,-                       optparse-applicative >= 0.16 && < 0.19,+                       optparse-applicative >= 0.16 && < 0.20,                        regex-tdfa >= 1.2 && < 1.4,                        semigroups >= 0.18 && < 0.21,                        text >=1.2 && <2.2,
src/Lentil/Parse/Syntaxes.hs view
@@ -81,10 +81,14 @@               ([".fs", ".fth", ".4th"], Just forth), -- forth               ([".yaml", ".yml"],       Just perl), -- YAML               ([".tex"],                Just latex), -- LaTeX, TeX+              ([".scm", ".ss"],         Just scheme), -- Scheme+              ([".lisp", ".lsp", ".l",+                ".cl", ".fasl"],        Just scheme), -- Lisp               ([".txt", ".md"],         Just text) ]  haskell, c, zig, javascript, pascal, python, ruby, perl, nix,     xml, erlang, ocaml, rp, rust, sml, forth, rst, org, latex,+    scheme,     text :: ParSource [CommentString] haskell    = source $ StdSyntax ["--"] [("{-", "-}")]                                 ClangLike ['"'] CommonChr ['\'']@@ -127,6 +131,8 @@                                 , "%" -- single-line comments                                 ]                                 [] -- Some packages provide support for multi-line comments, but there is no support for multi-line comments, even if some packages provide support for.+                                ClangLike ['"'] CommonChr []+scheme     = source $ StdSyntax [";"] []                                 ClangLike ['"'] CommonChr [] text       = (:[]) . MultiLine 1 <$> many anySingle 
src/Main.hs view
@@ -15,6 +15,7 @@ -- todo [feature:basic] help su `lentil` più semplie (`use lentil .`) -- todo [design] lentil con lexer? -- todo [feature:basic] lentil <-- invoke with lentil . or lentil --help+-- todo [feature:basic] add groff syntax  main :: IO () main = I.hSetBuffering I.stderr I.NoBuffering >> -- b/c progress bar@@ -44,7 +45,7 @@                                    short 'v'      S.<>                                    help "show version and copyright info" )     where-          versionCopy = "\nlentil - frugal issue tracker, version 1.5.8.0\n\+          versionCopy = "\nlentil - frugal issue tracker, version 1.5.9.0\n\                         \(C) 2015-2024 Francesco Ariis - http://www.ariis.it\n\                         \released under the GNU General Public License v3\n" 
test/Lentil/Parse/RunSpec.hs view
@@ -51,6 +51,7 @@             `shouldReturn` [Issue "test/test-files/specific/latin1.c" 1                                   (Just "single") []] +  -- TODO Abstract spt [refactor].   describe "commentParser - languages" $ do     it "parses a plain text source" $         fileParser [] [] "test/test-files/lang-comm/text.txt"@@ -120,3 +121,6 @@     it "parses a Zig source" $         fileParser [] [] "test/test-files/lang-comm/zig.zig"             `shouldReturn` spt "test/test-files/lang-comm/zig.zig"+    it "parses a Scheme/Lisp source" $+        fileParser [] [] "test/test-files/lang-comm/scheme.scm"+            `shouldReturn` spt "test/test-files/lang-comm/scheme.scm"