Skip to content

Commit f355f5f

Browse files
committed
documentation and cleaned up todos
1 parent 2c68e66 commit f355f5f

2 files changed

Lines changed: 3 additions & 11 deletions

File tree

TODO

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@ user-interface bugs:
22
* shortcut Ctrl-P (reparsing) is not visible in Menu
33

44
code improvements:
5-
* remove dependency on glade since it is deprecated
6-
* Add module descriptions (haddock)
7-
* rename type SrcLocation to SrcSpan
85
* NodeType could also be a boolean 'isIdentifier'
96
* add tests for languages haskell and python. more general:
107
how to test your newly defined language?
@@ -16,12 +13,8 @@ feature requests:
1613
somehow use the position information, e.g. jump to erroneous position
1714
* open/close all subtrees
1815
* generate pdf/png graphs from trees or terms
19-
* manual parser selection (adjust documentation of Language)
2016
* flag to disable flattening lists of chars to one node?
2117
(not sure if this is really useful)
22-
* propagate source locations to successors: i.e. nodes "Ident" are annotated
23-
with a src loc, but their successor in the ast (the actual ident value) is not
24-
annotated with a location. Can this be generalized?
2518
* implement searching idents and operations (in the ast)
2619
* display of raw ast could be valuable
2720
* when jumping to a path the other trees should be collapsed

src/core/Language/Astview/Language.hs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,9 @@ newtype Ast = Ast { ast :: Tree AstNode }
5959

6060
-- |A value of 'Language' states how files (associated with this language by
6161
-- their file extentions 'exts') are being parsed.
62-
-- The file extentions of all languages known to astview may not overlap, since
63-
-- a language is selected by the extention of the currently opened file.
64-
-- A future release of astview should support manual language selection and thus
65-
-- making the restriction obsolete.
62+
-- The file extentions of all languages known to astview may overlap, since
63+
-- a language can be manually selected in the menu. For perfect automatic
64+
-- language detection the extentions need to be disjoint.
6665
data Language = Language
6766
{ name :: String -- ^ language name
6867
, syntax :: String

0 commit comments

Comments
 (0)