top of page
Search
Shell scripting with marcel
You can write shell scripts using marcel. I created a source file, hello.m containing these commands: #!/usr/bin/env marcel ('Hello world') I then made the file executable and executed it: jao@loon:/tmp$ ./hello.m Hello world Here is a script, recent.m, to find files recursively inside the current directory, that have changed in the last 10 days. #!/usr/bin/env marcel ls -fr | select (f: now() - f.mtime < days(10)) What about modifying this so that it works in a directory gi
Jack Orenstein
Nov 13, 20252 min read
Â
Â
Â
Marcel runs on MacOS!
Yes, marcel now runs on MacOS. I've been working on this for months , and it's finally done. This was a major project because: Most...
Jack Orenstein
Oct 8, 20252 min read
Â
Â
Â
Compiling Marcel to Python
Marcel is interpreted. A command like this: gen 100 | map (x: (x, x**0.5)) | write gives rise to objects of type marcel.op.Gen,...
Jack Orenstein
Oct 26, 20242 min read
Â
Â
Â


Generating graphs from the marcel command line
I was working on a project in which I needed to munge some data, producing a stream of (x, y) tuples, and then graph the data. I had...
Jack Orenstein
Mar 8, 20243 min read
Â
Â
Â
bottom of page