Giter Club home page Giter Club logo

Comments (4)

rgbkrk avatar rgbkrk commented on August 20, 2024

Is there an Erlang language pack for Atom that people are relying on? atom-script relies on Atom's grammar list and name structure and Erlang isn't built in (yet). How's this one:

https://github.com/jonathanmarvens/atom-language-erlang

My mac is busily installing Erlang right now so I can actually tinker with this.

screen shot 2014-03-05 at 8 48 12 am

We only need two command/arg setups both of which are expected to produce output to stdout and stderr:

  • Command that takes arbitrary text
    (e.g. python -c 'print("hi")')
  • Command that takes a file
    (e.g. python test.py)

from atom-script.

slaykovsky avatar slaykovsky commented on August 20, 2024

There is no such simple as python. It will be good to just open Erlang REPL in module location as Emacs do.

from atom-script.

slaykovsky avatar slaykovsky commented on August 20, 2024

Hi!
I wrote this to grammars.coffee:

Erlang:
    command: "erl"
    "Selection Based": (code) -> ['-noshell -eval', code +", init:stop()."]

Then, I did:

apm update

in my term.
And then, when I trying to evaluate selected text, I get this:
bildschirmfoto 2014-03-13 um 17 01 12

from atom-script.

slaykovsky avatar slaykovsky commented on August 20, 2024

Wow, sorry for abusing this issue, but I did it! ^_^ Now it's working – Selection based evaluation. Now I'll try to do pull request :)
bildschirmfoto 2014-03-13 um 17 09 08

from atom-script.

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.