Add support for Lateralus#4077
Open
bad-antics wants to merge 1 commit into
Open
Conversation
Adds a Prism component for the Lateralus language (ltl, lat): - components/prism-lateralus.js covering keywords, built-in types, constants, nested block comments, doc comments, raw and byte strings, interpolated strings, typed numeric literals with underscore separators, attribute decorators (#[caps(io, net)]), module paths (foo::bar), lifetimes, and the pipeline operator |>. - tests/languages/lateralus/ with 7 feature tests. - examples/prism-lateralus.html. - components.json entry with aliases 'ltl' and 'lat'. - Regenerated autoloader and show-language aliases. Lateralus is a capability-aware systems language from https://github.com/bad-antics/lateralus-lang.
✅ Deploy Preview for dev-prismjs-com ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
JS File Size Changes (gzipped)A total of 324 files have changed, with a combined diff of 0 Bytes (0%). Details
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add language: Lateralus (ltl, lat)
This PR adds a Prism component for Lateralus, a capability-aware systems language (https://github.com/bad-antics/lateralus-lang).
What's included
components/prism-lateralus.jscovering:i8/u64/Result/Option/Vec/…)true,false,nil,None,Some,Ok,Err,Self)/* outer /* inner */ still outer */) and///doc commentsr"...",r#"..."#), byte (b"..."), and interpolation ("hello {name}")'\u{1F600}'#[caps(io, net)],@inline, inner attributesfoo::bar::Baz), lifetimes, macros (name!(…))42_u64,0xDEAD_BEEF_i32,3.14_f32,1_000.5e-10)|>and path separator::tests/languages/lateralus/— 7 feature tests (keywords, builtin-types, comments, strings, numbers, operators, attributes).examples/prism-lateralus.html.components.jsonentry with aliasesltlandlat.plugins/autoloader/prism-autoloader.jsandplugins/show-language/prism-show-language.js.Verification
Owner
I'm happy to maintain the component. GitHub: @bad-antics.