Giter Site home page Giter Site logo

eduabenathar / cfc Goto Github PK

View Code? Open in Web Editor NEW

This project forked from softwarecobbler/cfc

0.0 0.0 0.0 5.12 MB

A ColdFusion compiler designed primarily to support editor tooling - in particular, it drives a VsCode language server plugin offering syntax and some semantic checking of ColdFusion code.

License: GNU General Public License v3.0

ColdFusion 5.50% TypeScript 94.50%

cfc's Introduction

cfc

A compiler for Coldfusion, designed primarily for editor tooling support.

The VsCode plugin based on this tool is "cflsp", downloadable from within VsCode or on the extensions marketplace

current goals

  • Support ColdFusion 2018+ and Lucee5+
  • Recognize syntactic and some semantic errors and emit reasonable diagnostics for them.
  • Parse incrementally to keep response times reasonable
  • Offer autocomplete and navigate-to-symbol where possible

building

  • git clone https://github.com/softwareCobbler/cfc.git && cd cfc
  • npm run install-all
  • npm run build-cflsp

Then, from within vscode, there is a debug configuration called "Client + Server" which launches the VSCode extension host with the built plugin running, as well as a debug connection to the server. The actual language server glue code is about 99% pulled from Microsoft's vs-code-extension-samples/lsp-sample, but the parser is all handrolled recursive descent.

tests

to run the current tests (just a quick smoke test, hopefully helps check for regressions during development), install the git submodules:

  • git submodule init
  • git submodule update

Now the directory test/mxunit should be populated, and the test can run:

  • npm run test-all

cfc's People

Contributors

softwarecobbler 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.