Comments (4)
Just pushed a repl function. Hope it helps.
from demo-magic.
Thank you very much for your quick answer @paxtonhare. I was thinking about something where:
pe 'python3'
repl
pe "print(1 + .2)"
exit
Would allow pe
to work inside the REPL too, do you think that would be possible?
from demo-magic.
I'm not sure I follow. Can you elaborate? maybe show what the use case is?
from demo-magic.
Sorry for being unclear. I would like to be able to produce commands through demo-magic
both in the terminal interface and the underlying repl interface of, for example, python.
I would like to produce an output similar to https://asciinema.org/a/99317 using commands such as:
pe python
repl
pe "1+1"
pe "a=3"
pe "a"
pe "b=a*3"
pe "b"
pe "a*b"
pe "exit()"
exit
from demo-magic.
Related Issues (15)
- How to execute eval? HOT 1
- Support multi-line commands
- Control-C HOT 1
- Navigate mode. HOT 4
- Keep default prompt HOT 2
- Questions on use HOT 3
- Suggestion command for print+eval+nowait HOT 1
- Issue with wait not respected
- Continue demo in a newly created bash session HOT 2
- Use Oh-My-Zsh theme for the prompt during the demo
- Support passing command prefix to cmd
- Hide secrets HOT 1
- Documentation should be updated to point to nginx-buildpack
- Would like to pay you a beer ;) HOT 2
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 demo-magic.