-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Add xtlang #1902
Add xtlang #1902
Conversation
Hey, I'm one of the core Extempore developers, so if you have any questions from that side of things I'm happy to help out 😄 |
144a2da
to
2c29bad
Compare
Hi @cyblue9, @benswift, we are looking at moving languages into their own repositories, for example: That way, they can be included seperately to our core library and can be maintained independently. There are a few kinks we are still working out, but if you are interested, I can create a repository for you at the org level, and you can maintain your language there. |
hehe, not "indecently" - independently. Autocorrect win! |
Wow - a scandalous proposal 😉 Sure, if that's the way it's going anyway then I'm happy to have it in a separate repo under the hljs org. That way we don't have to hassle the core team as we squash the edge cases (which I'm sure there'll be a few of initially). Is it already possible to build hljs with support for one of these "language modules"? Or do I need to hack the build script manually? |
Thank @marcoscaceres for comment! Since I am one of contributor of extempore, so I will leave the future policy to @benswift . |
Depends... ideally, if you are using a bundler web pack, you can just import the language in and WebPack will take care of it. However, we are still trying to work out the details. |
@cyblue9, @benswift, gave you both admin over in https://github.com/highlightjs/highlightjs-xtlang Again, take a look at the structure for: Basically, you should hopefully be able to copy that. Apologies for not having proper instructions yet, we are super resource restrained on the project as it's just a small handful of people in the community trying to maintain it. |
Great, acknowledged. @cyblue9 , are you happy to look at that cshtml-razor repo and package up the xtlang one in a similar way? Re: resource constraints, I get it - we appreciate all the work you guys do 🙌 |
@cyblue9, we have a Slack channel that I can invite you to if you have any questions or need some additional help. I'll need an email to invite you. You can either email me (marcos@marcosc.com) or post it here and I'll send you an invite. |
@marcoscaceres
OK! This is my email address. Thank to invite me.
Yes! I will try it! |
Will do for sure 🙂 |
Hi, @marcoscaceres @benswift! Finished creating highlightjs-xtlang repo ! Plase review and modfiy!
|
Great, really nice work. I'll be finished marking next week and will have a look at this asap. |
This is possible now with my new build system PR: It should land in version 10, sometime in Jan 2020. But you can use it now to see how it works and make it easier to work with your language modules. And related discussion on 3rd party repos: As marcoscaceres mentioned you also have options with just Closing this PR since we now have https://github.com/highlightjs/highlightjs-xtlang. Always happy to answer any questions or concerns though! |
Great, thanks @yyyc514 Sorry about the delayed reply - I've been on holidays. |
Nice! Good job! Thank you😀 |
Support for xtlang language.
(Issue: extemporelang#1)
xtlang syntax looks like scheme, but xtlang has type system and is compiler language.
It is used in Extempore.
This is inspired by pygments one.
Please review!