Coder Social home page Coder Social logo

Comments (5)

macta avatar macta commented on June 27, 2024 1

This has been committed

from pharo-smalltalk.

macta avatar macta commented on June 27, 2024

@kytrinyx I don't understand - that link just says the directories have to match whats in config.json - so if the config slug says HelloWorld, why wouldn't it work?

We're trying to come up with simple mapping mechanisms to match a non-file based language (Smalltalk) to Exercism, so I was hoping to just use the Package name in smalltalk to generate that directory but in our package names "-" has a special sub package meaning, and names must being with a capital. Hence in Smalltalk we would use HelloWorld.

I can find another way, but I'm obviously missing the key documentation somehow?

from pharo-smalltalk.

kytrinyx avatar kytrinyx commented on June 27, 2024

I'll need to update the instructions, in that case.

The config slugs must be all lowercase, and hyphenated. The exercise slug is used as an identifier by the website, as well as to identify the exercise by the command-line app. Additionally, we use the slug to connect the exercise implementation in each language to the problem specification for the same exercise in https://github.com/exercism/problem-specifications.

The files themselves, or subdirectories within it could all have camel-case, but we have a lot of things that rely on the underlying assumption that the directory itself is normalized to kebab-case.

from pharo-smalltalk.

macta avatar macta commented on June 27, 2024

@kytrinyx ok - this where the onboarding for developers of a track is all a bit mysterious - the docs are a bit sprawling and its not obvious what is configuration and what is convention (particularly for non c-style languages that have different conventions). In retrospect it makes sense now - I'll just need to do a bit more work in our mapping-generation.

I'm hoping this is all worth while, as it seems a shame not to have languages that work a bit differently in your tracks - and give people an opportunity to learn something a bit different (I guess with common tools like exercism that they feel comfortably with).

I think we can pull it off.

from pharo-smalltalk.

kytrinyx avatar kytrinyx commented on June 27, 2024

I'm hoping this is all worth while, as it seems a shame not to have languages that work a bit differently in your tracks

Yes! I definitely want to be able to support languages that work differently, it's just not come up before. I think this means you're a pioneer :)

from pharo-smalltalk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.