GithubHelp home page GithubHelp logo

rmarchandten24 / cf2ts Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ian-a-hickey/cf2ts

0.0 1.0 0.0 73 KB

A coldfusion to typescript transpiler

Java 71.64% ColdFusion 16.63% TypeScript 11.73%

cf2ts's Introduction

cf2ts

A coldfusion to typescript transpiler

Right-click your project name in Eclipse and select 'run/debug' settings. Add a new config for Java Application and under the 'Arguments' tab add an action, source, and output. For example, my config looks like:

-action transpile 
     -s /Users/ianhickey/Documents/workspace/antlr/jCFTransmission/test/test.cfc 
     -o /Users/ianhickey/Documents/workspace/antlr/jCFTransmission/test/test.ts

That should allow you to transpile a cfc to a ts file.

Transpile whole directory.

To transpile an entire directory in one go, add the command line option -all to your run configuration.

Right-click your project. Select Run-As/Run Configurations and select the Arguments tab. Add the -all flag to your arguments list. When using -all to transpile a directory, the -o (output) and -s (source) become the directories to read from and write to. The ouput .ts files will overwrite any files that already exist with the same names in that output directory.

-action transpile -all
     -s /Users/ianhickey/Documents/workspace/antlr/jCFTransmission/test/ 
     -o /Users/ianhickey/Documents/workspace/antlr/jCFTransmission/testoutput/

cf2ts's People

Contributors

ian-a-hickey avatar

Watchers

Ryan Marchand 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.