live-codes / live-codes/livecodes
Update language compilers
- Dominant language
- TypeScript
- Stars
- 1.5k
- Forks
- 267
- Avg merge
- 9h 40m
- Merged PRs (30d)
- 16
Description
LiveCodes supports a large number of languages and frameworks (currently 90+). Keeping all these languages updated is a lot of work.
Contributions are welcome and very appreciated!
Updating many of these languages (e.g. [markdown](https://github.com/live-codes/livecodes/blob/develop/src/livecodes/languages/markdown/lang-markdown.ts)) are as easy as changing the [version number](https://github.com/live-codes/livecodes/blob/2d1dbc99c3da971acdd3a088f8d4156596834f48/src/livecodes/vendors.ts#L288), making sure that [everything works](https://livecodes.io/?template=markdown) and [updating docs](https://dev.livecodes.io/docs/languages/markdown#version) with the new version.
Here are some guides:
- Language implementations can be found here: [src/livecodes/languages](https://github.com/live-codes/livecodes/tree/develop/src/livecodes/languages)
- Most languages are loaded from CDNs. The package name and version are listed here: [src/livecodes/vendors.ts](https://github.com/live-codes/livecodes/blob/develop/src/livecodes/vendors.ts)
- Some language compilers require custom build: e.g. [browser-compilers](https://github.com/live-codes/browser-compilers). PRs are also welcome there.
- [Contribution guide](https://github.com/live-codes/livecodes/blob/develop/CONTRIBUTING.md)
- [Adding languages guide](https://github.com/live-codes/livecodes/blob/develop/docs/docs/contribution/adding-languages.mdx)
- Keep every language update in a **separate PR**
Please let me know if you need any guidance.
Thank you!
Contributor guide
Assessment
This issue has not been assessed yet.