Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please add ColdFusion / CFML language support #619

Open
JamoCA opened this issue Jan 28, 2024 · 3 comments
Open

Please add ColdFusion / CFML language support #619

JamoCA opened this issue Jan 28, 2024 · 3 comments

Comments

@JamoCA
Copy link

JamoCA commented Jan 28, 2024

Hi! Thank you for your work on this tool! Could you please add ColdFusion / CFML language support?

ColdFusion is the official language from Adobe. It's been in use since 1995 (and has been the core language I've used since '97.)
https://helpx.adobe.com/coldfusion/user-guide.html

Lucee CFML is an alternative open-source CFML platform and has some tags & functions that differ slightly from Adobe's.
https://docs.lucee.org/

@kucherenko
Copy link
Owner

thank you, will investigate

@akashbavlecha
Copy link

Yeah, it will be a great edition. A lot of ColdFusion programmers I know will certainly benefit from this.

@JamoCA
Copy link
Author

JamoCA commented Mar 13, 2024

What's required in order for a language to be supported by jscpd? (Is there any documentation regarding this?)

I see a list of languages here. They all appear to reference the RePrism project.
https://github.com/kucherenko/jscpd/blob/master/packages/tokenizer/src/grammar-loader.ts

The RePrism project is a tweaked version of PrismJS. A "cfscript" language file (which support script syntax) was merged back in early 2021.
https://github.com/PrismJS/prism/blob/master/components/prism-cfscript.js

Does the RePrism project (which hasn't push any updates in the last 6 years) need to be requested to include the new cfscript language file?

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants