Skip to content

Latest commit

 

History

History

parsers

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Dolos parsers

This a collection of parsers officialy supported by Dolos.

Visit dolos.ugent.be for more information.

Installation

If you want to use Dolos, you don't need to install this package directly. However, if you want to use the bundled parsers in your own app, you can install JavaScript library with:

npm install @dodona/dolos-parsers

System requirements

Required: Node.js, Python 3 and a compiler (GCC)

These parsers use tree-sitter to parse source code files. Tree-sitter currently only runs in node and will thus not run in browser environments.

Development

  1. Clone the Dolos repository including the submodules

    git clone --recursive git://github.com/dodona-edu/dolos.git
    
    # or, if you have cloned the repository already:
    git submodule update --init --recursive
  2. Install dependencies (preferably in the repository root)

    npm install
  3. Build the node bindings

    npm run build
    

Documentation

Visit our web page at https://dolos.ugent.be.