Skip to content

mcimini/lang-sql

Repository files navigation

Lang-SQL: A Query Language for Language Analysis

Author: Matteo Cimini (matteo_cimini@uml.edu)

Instructions


Requirements:

  • To compile and run: Ocaml with the Batteries packages is required.

Quick usage:

  • make
  • ./lnsql [folder-name]

What it does:

  • loads the file "queries.lnsql" of the folder [folder-name], which contains (possibly multiple) Lang-SQL queries.
  • loads all the language definitions .lan of the folder "languages" of [folder-name].
  • for each .lan file, say, myfile.lan,
    - all the queries of "queries.lnsql" are applied to the language,
    - the output tables are written in myfile.tbl of the folder "answers" of [folder-name].

To clean:

  • make clean
    (removes compilation files and executable)

Folders to test:

About

Lang-SQL: A Query Language for Querying Languages

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages