Add λanguage - #526
Open
Megapixel99 wants to merge 1 commit into
Open
Conversation
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.
Adds λanguage to the L section.
The repository holds two languages that share a syntax. λanguage is dynamically typed and functional, and compiles through CPS to JavaScript. lm has the same minimal syntax with machine-level semantics, and it targets four independent backends: C, WebAssembly, ARM64 and a bytecode VM. One program can be sent through all four and timed against them:
Following the convention in the recent additions, this also increments the total at the top (960 to 961) and the L section count (74 to 75).
On placement: the name begins with a Greek lambda, so there is no obvious sort position. I put it where "Lambda" would fall, between Lake and Lang5. Move it if you would rather it sat elsewhere, or listed under lm.
MIT licensed, and v2.0.0 is tagged.