lentil 1.5.0.0 → 1.5.1.0
raw patch · 8 files changed
+32/−5 lines, 8 files
Files
- changes.txt +6/−0
- doc/usr/page.rst +2/−1
- issues.txt +5/−1
- lentil.cabal +2/−1
- src/Lentil/Parse/Syntaxes.hs +4/−1
- src/Main.hs +1/−1
- test/Lentil/Parse/RunSpec.hs +3/−0
- test/test-files/lang-comm/forth.fs +9/−0
changes.txt view
@@ -1,3 +1,9 @@+1.5.1.0+-------++- Fri 05 Mar 2021 22:41:35 CET+- Add Forth syntax+ 1.5.0.0 -------
doc/usr/page.rst view
@@ -183,6 +183,7 @@ - Org mode for Emacs files (``.org``), both ``TODO`` and list-like items - Markdown files (``.md``) - R files (``.r``, ``.R``)+- Forth files (``.fs``, ``.fth``, ``.4th``) - plain text files (``.txt``) If you want a file type ``.xyz`` to be recognised as one in the list above,@@ -295,7 +296,7 @@ This is useful because it is recognised by editors like Emacs, which can turn them into active links to the relevant file/position. -``-f file`` exports a filelist.+``-f file`` exports a list of files where issues are present: ::
issues.txt view
@@ -7,6 +7,10 @@ 13 Henning: don't output nothing on lentil xxx.cabal (maybe add 19 skipped?) [request] [2017] +src/Lentil/Export.hs+ 54 markdown output - che genere di header? o lista di liste? - come+ mettere i tag? /[[cdsacad] [feature] [u:3] [cdsac]+ src/Lentil/File.hs 69 combine funziona su windows? [test] @@ -23,7 +27,7 @@ [request] 36 Consider using https://github.com/github/semantic ? [design] 45 lowercase does not work (not recognised, .r vs. .R) [bug]- 115 rst parser doesn't respect whitespace or paragraphs. How to+ 118 rst parser doesn't respect whitespace or paragraphs. How to implement this without breaking other parsers? [bug] [design] src/Main.hs
lentil.cabal view
@@ -1,5 +1,5 @@ name: lentil-version: 1.5.0.0+version: 1.5.1.0 synopsis: frugal issue tracker description: minumum effort, cohesive issue tracker based on ubiquitous @TODO@s and @FIXME@s conventions.@@ -18,6 +18,7 @@ tested-with: GHC==8.4.1, GHC==8.6.1, GHC==8.8.3 extra-source-files: stack.yaml, test/test-files/lang-comm/clang.c,+ test/test-files/lang-comm/forth.fs, test/test-files/lang-comm/haskell.hs, test/test-files/lang-comm/javascript.js, test/test-files/lang-comm/out.blocks,
src/Lentil/Parse/Syntaxes.hs view
@@ -78,10 +78,11 @@ ([".rst"], Just rst), -- reStructuredText ([".org"], Just org), -- org-mode ([".r"], Just rp), -- R language+ ([".fs", ".fth", ".4th"], Just forth), -- forth ([".txt", ".md"], Just text) ] haskell, c, javascript, pascal, python, ruby, perl, nix,- xml, erlang, ocaml, rp, rust, sml, rst, org,+ xml, erlang, ocaml, rp, rust, sml, forth, rst, org, text :: ParSource [CommentString] haskell = source $ StdSyntax ["--"] [("{-", "-}")] ClangLike ['"'] CommonChr ['\'']@@ -110,6 +111,8 @@ rust = source $ StdSyntax ["//!", "///", "//"] [] ClangLike ['"', '\''] CommonChr [] sml = source $ StdSyntax [] [("(*", "*)")]+ ClangLike ['"'] CommonChr []+forth = source $ StdSyntax ["\\"] [("( ", ")")] ClangLike ['"'] CommonChr [] rst = source RstSyntax -- todo [bug] [design] rst parser doesn't respect whitespace or
src/Main.hs view
@@ -37,7 +37,7 @@ short 'v' S.<> help "show version and copyright info" ) where- versionCopy = "\nlentil - frugal issue tracker, version 1.5.0.0\n\+ versionCopy = "\nlentil - frugal issue tracker, version 1.5.1.0\n\ \(C) 2015-2021 Francesco Ariis - http://www.ariis.it\n\ \released under the GNU General Public License v3\n"
test/Lentil/Parse/RunSpec.hs view
@@ -106,4 +106,7 @@ it "parses an R source" $ fileParser [] [] "test/test-files/lang-comm/r.r" `shouldReturn` spt "test/test-files/lang-comm/r.r"+ it "parses a Forth source" $+ fileParser [] [] "test/test-files/lang-comm/forth.fs"+ `shouldReturn` spt "test/test-files/lang-comm/forth.fs"
+ test/test-files/lang-comm/forth.fs view
@@ -0,0 +1,9 @@+\ TODO: single+\ comment +( todo single2 )++: myword ." ( "+do myChar s" \n" ( toast )++\ todo block1+( todo block2 [tog] )