A tool to create a normalized representation of user-submitted code for Exercism
exercism / nim-representer Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
A tool to create a normalized representation of user-submitted code for Exercism
Follow-up for #37 (comment)
Currently, our .nimble
file contains:
nim-representer/nim_representer.nimble
Lines 13 to 15 in 34ff2b0
which means that we will execute arbitrary code if
nimscripter
or docopt
are re-taggednimscripter
( assume
, balls
, grok
, ups
, npeg
, sync
) or docopt
(regex
, unicodedb
) receive a new release.Ideally, we'd use a Nimble lock file. The current Nim stable release (1.6.6) supports the Nimble version that supports lock files, but does not yet ship with such a Nimble.
The .nimble
files of our Nimble dependencies:
As of now, the proposed representation for Nim proc/func/template/macro calls is to normalize them all to regular calls. For example:
`+` 1, 2 => `+`(1, 2)
1 + 2 => `+`(1, 2)
-1 => `-`(1)
Is this the desired result?
Certain call styles are more idiomatic
In line with our new org-wide policy, the master
branch of this repo will be renamed to main
. All open PRs will be automatically repointed.
GitHub will show you a notification about this when you look at this repo after renaming:
In case it doesn't, this is the command it suggests:
git branch -m master main
git fetch origin
git branch -u origin/main main
You may like to update the primary branch on your forks too, which you can do under Settings->Branches and clicking the pencil icon on the right-hand-side under Default Branch:
We will post a comment below when this is done. We expect it to happen within the next 12 hours.
The expected
tree output should start on the next line being as they are strip
ped anyways
Unclear whether tuples will be interpreted Correctly
Follow-up for #37 (comment)
Low priority. The dependencies of docopt
are all pure Nim, so docopt
won't make it harder to deploy a statically linked representer binary in a container that has no Nim or glibc.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.