Comments (2)
Thanks for your feedback.
In some ways it already supports at-expressions. You can do this already:
#lang at-exp racket
(require rash)
;; this requirement will go away soon
(require rash/demo/setup)
@rash|{ls -l | grep foobar}|
I haven't yet gotten around to making the readtable in #lang rash customizable, but it's near the top of my rash to-do list, then you will be able to add the at-expression trigger character you like to both the line-syntax and when you escape to racket.
But note that you should use @rash|{}|
rather than @rash{}
if you want to nest anything or use commands like ssh user@host
, or you will have issues with the at-reader producing non-string things that make it barf when it wants to read them with the next readtable.
I still prefer (rash «ls | grep foo»)
or ◸ls | grep foo◹
(or $(ls | grep foo)
once I get around to the readtable improvements I plan on doing [eg. to allow readtable trigger values to be more than just a character]) for various reasons. But I definitely want to support people who want to add the at-reader to their readtable. So I'll add that feature soon.
from racket-rash.
I haven't yet documented how to add at-expressions (which is now possible, though it's a little more involved than you would expect), but I've also stopped using weird unicode delimiters for basic things. Have you tried the new {}
and #{}
delimiter changes? Does that solve the immediate problem for you?
Some time soon I'll document how you can adjust the readtable as well.
from racket-rash.
Related Issues (20)
- Ideas from ion shell? HOT 1
- Problem with `parameterize`
- some packages are downloaded via HTTP ? HOT 7
- [Windows] libedit-3.dll issues HOT 9
- I've been waiting for something like this for a long time HOT 1
- Save history between sessions? HOT 1
- SIGPIPE issue
- Ctrl-C handling HOT 4
- testing maubot integration
- Relicensing Rash HOT 8
- Allow comment with # in repl HOT 1
- terminal title with current directory HOT 2
- Tab completion does not quote
- ls causes issues with history-delete HOT 18
- Can't exit shell on Mac OS X HOT 2
- Behavior of Control-c (C-c, ^C, SIGINT) when no process is active HOT 3
- How to build documentation? HOT 2
- contract violation on 8.2[cs]? HOT 6
- Resizing terminal emulator
- Rash in Jupyter (with iracket) HOT 5
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 racket-rash.