Skip to content
This repository has been archived by the owner on Oct 3, 2019. It is now read-only.

ninadakolekar/mod2nml

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MOD to NML Translator

CS6383 - Introduction to Compiler Engineering

This repository is a part of the CS6383 Course Project done under the guidance of Dr. Ramakrishna Upadrasta and Dr. Gayathri P K. The objective is to build a langugae translator that can automatically translate code written in NMODL to NeuroML - two programming frameworks used heavily in computational neuroscience.

The need for a translator stems from the need to convert a pile of legacy code written in NMODL to more pupular and modern frameworks such as NeuroML. To the best of our knowledge, no such translators existed when this project was completed. The translator has been implemented using core fundamentals of langugage compilers and power of regular expressions.

Prerequisites

  • Linux
  • Python 3

Getting Started

Installation

  • Clone this repo:
git clone https://github.com/ninadakolekar/mod2nml
cd mod2nml
  • Install dependencies provided in requirements.txt

Usage

  • To use the translator, just run the translator.py script located in the src/ directory

Collaborators

Acknowledgement

We'd sincerely like to thank Dr. Ramakrishna Upadrasta and Dr. Gayathri P K. for their guidance thorughout the project.

Releases

No releases published

Packages

No packages published

Languages