preplish
examples
preplish | examples | |
---|---|---|
9 | 1 | |
4 | 111 | |
- | 4.5% | |
5.0 | 5.0 | |
7 months ago | 3 days ago | |
Perl | Jupyter Notebook | |
GNU General Public License v3.0 only | BSD 3-clause "New" or "Revised" License |
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.
preplish
-
Interactive GCC (igcc) is a read-eval-print loop (REPL) for C/C++
> what's wrong with that?
Why nothing at all, of course. A REPL need not be more than a way to test and explore syntax, functions, and logical structures.
> the user experience is REPL-ish and it can help some people learn the _basics_ of the language
PREPLISH exists for Perl ^_^
https://github.com/viviparous/preplish
-
online Perl editor
If this is for testing of syntax or of trivial code, it sounds like a good use-case for running a local REPL. (Example: https://github.com/viviparous/preplish)
-
Not Your Grandfather’s Perl
This is a simple REPL project and the readme lists other Perl REPLs.
https://github.com/viviparous/preplish
Perl's concise syntax makes working in a REPL a pleasure. Python has a REPL but the design of the language makes it expand both in length (for loops) and in width (tabs).
I am a recent convert to working in a REPL first to test programming ideas.
-
Has someone curated Perl data science resources somewhere? I've seen many such collections for other languages. Something like this, but with more modules and what they do:
I made this solution for some of my simple data wrangling: https://github.com/viviparous/preplish
- Is there any good reason not to use perl scripts in place of bash logic?
- Working with __DATA__ sections without Mojolicious
-
Acme-ConspiracyTheory-Random
I tried the module it in a Perl REPL (https://github.com/viviparous/preplish) and got the following ravings that are worthy of a US loony politician:
-
On Repl-Driven Programming
I agree with you that the immediate start-up and feedback is a great benefit to the coder. This is why I dislike complex, Rube-Goldbergian REPL systems.
There is a use-case for a throw-away interaction with a REPL. For example, how does $builtinFuncX work, or how would $data best be imported into a structure?
A REPL can also be a good initial approach to a more ambitious problem. In this case, a REPL can be good for focus and discipline.
If the second case is going to answer your concern and be constructive, it's necessary to be able to build the code for sharing and cleanly export the code for re-use.
I've had success tackling challenges using REPLs for Python and Perl [1] in both ways. But no tooling is going to solve the problem of a sloppy teammate who claims success just because "it compiles" and "it works on my box". A person who knows how to build good tooling goes further.
[1] https://github.com/viviparous/preplish
-
Interactive C++ for Data Science
It is Jupyter is a Rube-Goldbergian nightmare. Python is a memory hog. There are better solutions, to be sure.
A simple REPL is all that's needed to both do A-type and B-type data exploration. (I won't use the term "data scientist", it's an exaggeration in most cases.)
Python has a REPL, R has a REPL, Perl has PDL and both a simple REPL (https://github.com/viviparous/preplish) and a more complex one (https://metacpan.org/pod/Reply).
Jupyter should not be used as an IDE because it is the wrong tool for development. A-type data explorers just want a painless UI and may not care much about the horrible agglutination of incomplete/slow/broken solutions that Jupyter represents.
examples
-
Interactive C++ for Data Science
mlpack, a C++ machine learning library, includes xeus-cling notebooks directly on their homepage: https://www.mlpack.org/
The xeus-cling work is awesome and has made it possible to do data science prototyping in C++. There are lots of other C++ notebook examples in the examples repository: https://github.com/mlpack/examples/
What are some alternatives?
xeus-cling - Jupyter kernel for the C++ programming language
tinyspec-cling - tiny spectral synthesizer with livecoding support
transformers - 🤗 Transformers: State-of-the-art Machine Learning for Pytorch, TensorFlow, and JAX.
Pluto.jl - 🎈 Simple reactive notebooks for Julia
jupyter - An interface to communicate with Jupyter kernels.
slimux - SLIME inspired tmux integration plugin for Vim
vim-slime - A vim plugin to give you some slime. (Emacs)
component - Managed lifecycle of stateful objects in Clojure