Giter Site home page Giter Site logo

miryamgsm / external-parser-sample Goto Github PK

View Code? Open in Web Editor NEW

This project forked from plasticscm/external-parser-sample

0.0 2.0 0.0 10 KB

A dumb, hand made, external parser for Plastic and Semantic only capable of creating "declaration trees" for 2 given files.

C# 100.00%

external-parser-sample's Introduction

external-parser-sample

A dumb, hand made, external parser for Plastic and Semantic only capable of creating "declarations trees" for 2 given files.

This sample code explains how to create a skeleton external parser to be used by Plastic SCM and SemanticMerge/SemanticDiff.

It is only able to parse the 2 files under the "sample" directory. It has a hardcoded "declaration tree" for each of the files.

It just serves to show how a very simple parser works as a basis to create real ones.

How to use the parser from SemanticDiff

semanticmergetool.exe -s sample\source.code -d sample\destination.code -ep=codeparser.exe

How to configure Plastic SCM to use an external parser

Create an externalparsers.conf under your plastic4 configuration directory as follows:

C:\Users\pablo\AppData\Local\plastic4>type externalparsers.conf

.code=C:\Users\pablo\wkspaces\semantic-external-parsers\codeparser\bin\debug\codeparser.exe

external-parser-sample's People

Contributors

psantosl avatar

Watchers

Míryam avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.