yamlscript: WIP - A new implementation#720
Draft
ingydotnet wants to merge 1 commit intokanaka:masterfrom
Draft
Conversation
Passing steps 0-3 so far, with no skipped tests. To test, run `make -C impls/yamlscript test`. The Makefile will auto-install the ys binary under the `impls/yamlscript/.cache/.local/bin/` directory. In other words, it should "just work" with no prerequisites. YAMLScript (aka YS) was created in 2023 after I finished a mal implementation in Perl. Without the mal project, YS would not exist! See: https://yamlscript.org The code in this implementaion was ported almost directly from the impls/mal "code" (which cannot run without a hosting implementation). This is to say that the YS mal code (like the MAL mal code) reads much like pseudocode, the difference being that the YS code actually runs! And it can host the MAL mal code (of course). This works out so well, because YS transpiles to Clojure. It is literally a syntax dialect of Clojure (without a JVM, thanks to the GraalVM native-image compiler).
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.
To test, run
make -C yamlscript test.The Makefile will auto-install the ys binary under the impls/yamlscript/.cache/ directory.
Passing first 2 steps with no skipped tests.
Pull request requirements:
the implementation name.
Additional requirements if you are adding a new implementation (see FAQ for details):
impls/<IMPL>/Dockerfileimpls/<IMPL>/MakefileIMPLS.ymlMakefile.implsREADME.md