Code Monkey home page Code Monkey logo

Comments (6)

adambabik avatar adambabik commented on August 11, 2024 1

I think we can close this issue for now. Metadata are handled, lang detection is described in #77, and basic lang normalization was merged in #81.

from runme.

adambabik avatar adambabik commented on August 11, 2024

Language detection is tracked in #77.

from runme.

adambabik avatar adambabik commented on August 11, 2024

@sourishkrout what do you want to do in Language names normalization (TBD cc @sebastian).?

from runme.

sourishkrout avatar sourishkrout commented on August 11, 2024

Do you mean where bash becomes sh but also bat becomes sh? Trying to figure out what language names normalization is?

from runme.

adambabik avatar adambabik commented on August 11, 2024

@sourishkrout that was it. Thanks!

from runme.

sourishkrout avatar sourishkrout commented on August 11, 2024

The existing implementation is very Unix/Linux/macOS centric where it just assumes shell is inevitable which is why bat will be turned into sh. I think we want to account for a future where we want to support e.g. PowerShell on Windows. However, the guesslang model is basically platform agnostic so the best we can do is look at the execution context (platform identifier passed down) to make assumptions.

Making sure it's possible to pass down the execution context's platform (darwin, win, linux, etc) but only handle non-Win is probably all we need for now.

from runme.

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.