lentil 1.5.9.1 → 1.5.10.0
raw patch · 7 files changed
+23/−2 lines, 7 files
Files
- changes.txt +5/−0
- doc/usr/page.rst +1/−0
- lentil.cabal +2/−1
- src/Lentil/Parse/Syntaxes.hs +1/−0
- src/Main.hs +2/−1
- test/Lentil/Parse/RunSpec.hs +3/−0
- test/test-files/lang-comm/agda.agda +9/−0
changes.txt view
@@ -1,3 +1,8 @@+1.5.10.0+--------++- Add Agda syntax (suggested by eldritchcookie).+ 1.5.9.1 -------
doc/usr/page.rst view
@@ -194,6 +194,7 @@ - Zig files (``.zig``) - Scheme files (``.scm``, ``.ss``) - Lisp files (``.lisp``, ``.lsp``, ``.l``, ``.cl``, ``.fasl``)+- Agda files (``.agda``, ``.lagda``) - 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.9.1+version: 1.5.10.0 synopsis: frugal issue tracker description: minumum effort, cohesive issue tracker based on ubiquitous @TODO@s and @FIXME@s conventions.@@ -42,6 +42,7 @@ test/test-files/lang-comm/latex.tex, test/test-files/lang-comm/zig.zig, test/test-files/lang-comm/scheme.scm,+ test/test-files/lang-comm/agda.agda, test/test-files/specific/contiguous.c, test/test-files/specific/cont-custom.c, test/test-files/specific/latin1.c,
src/Lentil/Parse/Syntaxes.hs view
@@ -84,6 +84,7 @@ ([".scm", ".ss"], Just scheme), -- Scheme ([".lisp", ".lsp", ".l", ".cl", ".fasl"], Just scheme), -- Lisp+ ([".agda", ".lagda" ], Just haskell), -- Agda ([".txt", ".md"], Just text) ] haskell, c, zig, javascript, pascal, python, ruby, perl, nix,
src/Main.hs view
@@ -16,6 +16,7 @@ -- todo [design] lentil con lexer? -- todo [feature:basic] lentil <-- invoke with lentil . or lentil --help -- todo [feature:basic] add groff syntax+-- todo [feature:advanced] support python/lisp docstrings main :: IO () main = I.hSetBuffering I.stderr I.NoBuffering >> -- b/c progress bar@@ -45,7 +46,7 @@ short 'v' S.<> help "show version and copyright info" ) where- versionCopy = "\nlentil - frugal issue tracker, version 1.5.9.1\n\+ versionCopy = "\nlentil - frugal issue tracker, version 1.5.10.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
@@ -124,3 +124,6 @@ it "parses a Scheme/Lisp source" $ fileParser [] [] "test/test-files/lang-comm/scheme.scm" `shouldReturn` spt "test/test-files/lang-comm/scheme.scm"+ it "parses an Agda source" $+ fileParser [] [] "test/test-files/lang-comm/agda.agda"+ `shouldReturn` spt "test/test-files/lang-comm/agda.agda"
+ test/test-files/lang-comm/agda.agda view
@@ -0,0 +1,9 @@+-- TODO: single+-- comment+-- todo single2++someOther = "Привет \"мир\"\n" -- string+char' = '∀' -- char++{- todo block1 -}+{- todo block2 [tog] -}