Code Monkey home page Code Monkey logo

Comments (7)

lodi-g avatar lodi-g commented on May 29, 2024 2

I think the REPL when running ./gravity is more logical than a help message. See Python, JS, lua, etc.

Great ideas overall though.

from gravity.

 avatar commented on May 29, 2024 1

@anddimario
This is too much in my opinion. Probably thats why the repl was invented.

from gravity.

YurySolovyov avatar YurySolovyov commented on May 29, 2024 1

I think prior to everything else, this needs an ability to actually read strings from console, at least in case we want to implement REPL in .gravity

from gravity.

parro-it avatar parro-it commented on May 29, 2024

Add a flag --bytecode which would output generated bytecode instead of running the application.

I think there is already a -c argument for that

from gravity.

Erk- avatar Erk- commented on May 29, 2024

The -c flag does that but the text is confusing: "-c input_file compile input_file (default to gravity.json)"

from gravity.

anddimario avatar anddimario commented on May 29, 2024

What do you think about the possibility to run code directly from cli? For example: ./gravity -r "func main() {...}"

from gravity.

Jezza avatar Jezza commented on May 29, 2024

Why not introduce a gravityc, or is that overkill?
That would give us the ability to specialise precompilation without blowing up the original CLI.

from gravity.

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.