ptpython
LIPS
Our great sponsors
ptpython | LIPS | |
---|---|---|
17 | 39 | |
5,043 | 386 | |
0.9% | 3.6% | |
6.7 | 9.9 | |
12 days ago | 1 day ago | |
Python | JavaScript | |
BSD 3-clause "New" or "Revised" License | MIT |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
ptpython
-
Color Django shell by development environment
Ptpython reads from a configuration file where we can specify custom keybindings and the REPL colorscheme. The default configuration file can be copied from prompt-toolkit/ptpython/blob/master/examples/ptpython_config/config.py.
-
Why Lisp?
If you like using the REPL, for Python I recommend you try https://github.com/prompt-toolkit/ptpython
- Is it best just to use the terminal for python?
-
Tools for productivity
REPL??? Do you have a very-easy-to-use way of running and testing your code? From vim-slime to nvim sniprun to autocommands with the built in terminal, to an external repl like ptpython (for python obviously). iron.nvim and conjure are two other neovim repl plugins. There are many ways of running the code that you're working on, and having something that makes this really easy for you is pretty essential. (sometimes I use inotifytools on linux to literally just run the script every time I save it.)
-
Is there a vim mode for zsh ?
I use ptpython for my python repl https://github.com/prompt-toolkit/ptpython. I find it very convenient because it has a vim mode, and many vim similarities.
-
Is there a way to make the Python IDLE auto-close brackets and quotations?
A library like ptpython should be what you're looking for, however this probably isn't an option for an exam setting.
-
Where do I go after learning lua?
create a repl to the standard that ptpython sets for python (both croissant and ilua leave a lot to be desired)
-
Assistance Parsing HTML with Beautiful Soup
My bad - the >>> and ... in my post are from an interactive shell session. - so there is an implicit print - which is why you see the output.
-
Best REPL for a language
https://github.com/prompt-toolkit/ptpython is also a good one
-
can I get syntax highlighting for python shell?
Even better than iPython is PTPython, which can be used like a regular python interpreter with cool features.
LIPS
- LIPS: Powerful Scheme based Lisp interpreter in JavaScript
-
(Learn 'Scheme)
Sweet, I'll have to give that a go :)
Another option in browser land is lips[0], which exclusively targets a js backend.
[0] https://lips.js.org
-
All Web frontend lisp projects
For Scheme implementations there are LIPS and biwascheme. I haven't done more than play around with them, so I can't really give an informed opinion about pros and cons or favorites.
-
Extending a Language — Writing Powerful Macros in Scheme
Your example revealed a bug in my Scheme interpreter. This is an example that fails to match:
-
What other Scheme parser tricks do you know?
In my interpreter, LIPS Scheme, vector literal syntax is created using a syntax extension, a token that is mapped to a function or a macro. So you can use things like this:
-
How to list defined symbols?
I'm not sure about other Scheme interpreters but in my interpreter LIPS Scheme, there is (env) function that returns a list of symbols. You can also access environment objects e.g. (current-environment) return object that is used internally. And you can even access the scope chain because the env object has __parent__ property that returns the parent scope.
-
May I see some of your projects? :)
Few of my Open Source projects: * jQuery terminal * LIPS Scheme * Gaiman * Sysend * Wayne
-
Async / Await in Scheme
(define promise (--> '>(fetch "https://lips.js.org/") (then (lambda (res) (res.text))) (then (lambda (text) (. (text.match #/\s*([^>]+?)\s*<\/h1>/) 1)))))
-
Yes we are men. Men is what we are.
ngl when I first saw the headline my first thought was, “Wait, bring CAR into JavaScript? Make it a Lisp? But hasn't it already been done?”
-
If you were hired to create a new distribution of Lisp, what would you include?
Languages like Biwa Scheme and LIPS Scheme are good for running Scheme in the browser. But I would prefer compiling Scheme code to JavaScript in the server, then serving the compiled JavaScript image to the browser.
What are some alternatives?
bpython - bpython - A fancy curses interface to the Python interactive interpreter
scheme-lsp-server
Jupyter Notebook (IPython) - Multi-user server for Jupyter notebooks
biwascheme - Scheme interpreter written in JavaScript
ipython - Official repository for IPython itself. Other repos in the IPython organization contain things like the website, documentation builds, etc.
murex - A smarter shell and scripting environment with advanced features designed for usability, safety and productivity (eg smarter DevOps tooling)
rich - Rich is a Python library for rich text and beautiful formatting in the terminal.
atbswp - A minimalist macro recorder
upm - ⠕ Universal Package Manager - Python, Node.js, Ruby, Emacs Lisp.
osmosis-js - JS reference implementation of Osmosis, a JSON data store with peer-to-peer background sync
juno-lang - Juno Language Repository
spleeter-web - Self-hostable web app for isolating the vocal, accompaniment, bass, and drums of any song. Supports Spleeter, D3Net, Demucs, Tasnet, X-UMX. Built with React and Django.