REFACTOR: write the language file of oberon in NUON #9
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.
After some private discussion with @nicolaslesquoy, the use of a
nushell
script to generate the language file ofoberon
is probably not the best...the former
./scripts/generate-language
was mandatory to build thelanguage.json
file, which is in turn required by./scripts/generate-website
to generate the pages for the static website of theoberon
language 🤔the changes
this PR proposes the following:
nushell
scriptgenerate-language
NUON
version of the dataas said in the page above,
language.json
language.json
withsome tests
i've generated the website, from
nushell
to leverage the format conversion fromNUON
toJSON
of the shell, withand did check the pages with
> qutebrowser website/index.html
on my machine
the generated pages look the same 👍
i've also conducted a more exhaustive test as follows
which gives me
On branch main Your branch is up to date with 'origin/main'. nothing to commit, working tree clean
when the tree is already clean before the test on the
main
branch ofoberonproject.github.io
the files are indeed the same!!