Headline

an import matcher for Haskell

Description

HsImportMatcher is a part of 101companies:Explorer; it is a Haskell-specific tool for import matching. That is, the technology supports the syntax-aware proof of using a certain Haskell-based technology in terms of its import into Haskell sources. The input/output behavior of HsImportMatcher is the following:

  • Input:
    • a Haskell module
    • a namespace (a string)
  • Output:
    • None
  • Exit:
    • Normal: successful matching
    • Abnormal: failed matching (or other problems)

Illustration

Consider this technology tagging:

$ pwd
/home/me/projects/101repo
$ more technologies/HXT/.tetala 
[
 { 
  "language" : "Haskell",
  "namespace" : "Text.XML.HXT"
 }
]

Hence, Technology:HXT is said to be detectable due to the associated namespace "Text.XML.HXT". More operationally, any Haskell module could be scanned for "imports" to refer to said namespace. For instance, Contribution:haskellHxt does indeed make good use of Technology:HXT. Thus, the test case:

$ pwd
/home/me/projects/101repo/technologies/HsImportMatcher
$ make test
$ more Makefile 
build:
...
test:
...
        @./matcher.py \
                ../../contributions/hxt/Total.hs \
                "Text.XML.HXT"
...

See also

Contributors

Metadata


There are no revisions for this page.

User contributions

    This user never has never made submissions.

    User edits

    Syntax for editing wiki

    For you are available next options:

    will make text bold.

    will make text italic.

    will make text underlined.

    will make text striked.

    will allow you to paste code headline into the page.

    will allow you to link into the page.

    will allow you to paste code with syntax highlight into the page. You will need to define used programming language.

    will allow you to paste image into the page.

    is list with bullets.

    is list with numbers.

    will allow your to insert slideshare presentation into the page. You need to copy link to presentation and insert it as parameter in this tag.

    will allow your to insert youtube video into the page. You need to copy link to youtube page with video and insert it as parameter in this tag.

    will allow your to insert code snippets from @worker.

    10 most similar pages:

    Syntax for editing wiki

    For you are available next options:

    will make text bold.

    will make text italic.

    will make text underlined.

    will make text striked.

    will allow you to paste code headline into the page.

    will allow you to link into the page.

    will allow you to paste code with syntax highlight into the page. You will need to define used programming language.

    will allow you to paste image into the page.

    is list with bullets.

    is list with numbers.

    will allow your to insert slideshare presentation into the page. You need to copy link to presentation and insert it as parameter in this tag.

    will allow your to insert youtube video into the page. You need to copy link to youtube page with video and insert it as parameter in this tag.

    will allow your to insert code snippets from @worker.