Comments (7)
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.
@anddimario
This is too much in my opinion. Probably thats why the repl was invented.
from gravity.
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.
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.
The -c flag does that but the text is confusing: "-c input_file compile input_file (default to gravity.json)"
from gravity.
What do you think about the possibility to run code directly from cli? For example: ./gravity -r "func main() {...}"
from gravity.
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)
- Line numbers in error messages are wrong HOT 9
- Make install doesn't install libraries nor headers
- Problems compiling without GRAVITY_COMPUTED_GOTO being set HOT 2
- Thinking about writing a book
- [Feature] #include guards HOT 1
- Runtime Error Should Report File and Line Number HOT 3
- lambda captured HOT 1
- Gravity documentation update to latest HOT 1
- C like conditional compilation and suggested features HOT 2
- Documentation section arrow eats into section name HOT 3
- 2023 roadmap?
- Please add syntax highlighting for Sublime Text
- Please implement REPL
- better cli-rework
- Makefile dependency errors
- Evaluate using Profile-Guided Optimization (PGO) and LLVM BOLT
- Automatic native function/class identifier registration on gravity parser HOT 1
- Gravity language windows install instructions HOT 1
- RUNTIME ERROR: Unknown LOADK index
- hello can we run gravity on microcontroller ? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gravity.