Skip to content

dodona-edu/dolos-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

111 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dolos-rs

A Rust implementation of the Dolos source code plagiarism detection CLI.

Note: This project is intended to eventually replace the existing Node.js CLI in the main Dolos repository.

Workspace crates

  • dolos — the Rust CLI for running similarity analyses on source code files.
  • tree-sitter-grammars — a unified crate that bundles tree-sitter grammar bindings for 29 programming languages behind a single ergonomic API. See its README for details.

Building

Requires a recent stable Rust toolchain. To build with support for all languages:

cargo build --features all-languages

To build with only specific languages:

cargo build --features lang-python,lang-javascript

Usage

# Analyze a directory of files
dolos run path/to/files/

# Analyze specific files
dolos run file1.py file2.py file3.py

# Output results as CSV
dolos run --output-format csv --output-destination ./results/ path/to/files/

Who made this?

Dolos is an active research project by Team Dodona at Ghent University. If you use this software for your research, please cite:

License

Licensed under the MIT license.

About

Dolos CLI in Rust 🚧

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages