Asciiflow in VS Code
github.com
github.com
I reckon there's a reasonably large subset of DSLs in the computing world that lend themselves to a 2D description, rather than a simplistic 1D sequential list down a text file. Anything involving concurrency in particular needs more than just a list.
A graphical language like asciiflow would serve this well. Edit your graph in the flow diagram and parse it in a specialised parser.
Are there any generic asciiflow parsers out there?
A Turing machine has one dimensional storage, but the order of operations matter quite a bit. So the second axis is time. But in a network, where it happens also matters. Although one might argue that the entire network is a single synthetic Turing machine with a segmented tape, and thus it’s just 2 dimensions.
[1]: https://code.visualstudio.com/updates/v1_44#_custom-text-edi...
M-x artist-mode
Not that I mind reinventing wheels. I'd hazard Emacs itself reinvented a lot.
1. Emacs is different (copy, paste, undo, exit… none of these work the way they work in Windows, KDE, Gnome, Firefox…). This makes you either configure Emacs to behave like everything else and you end up having a subpar Emacs experience, or try to configure everything else to behave like Emacs and you end up doing everything into it, not unlike many Vim users (I'm on my way to the latter option).
2. Emacs doesn't work out of the box. Seriously, there's so much features builtin (artist-mode is only one of thousands), but so little that actually works for stuff that matters. I'm not even talking about advanced stuff like LSP (that most people take for granted nowadays), just about the most basic stuff like the home / end keys, multi-level undo… It's just a matter of turning a few knobs, but you still have to do that. Oh, and while this could be the best way to start understanding where Emacs is incredibly powerful (customization), it isn't because you do it in Elisp.
3. Emacs is not pretty. I've solved the problem by hiding everything but the text editing UI, but it sure doesn't give much appeal at first sight.
I find most other editors ugly. But I suspect this is the main stickler. Had a Windows friend ask why nobody has made a ribbon interface for Emacs. Not many icons at all. I didn't know how to respond, as I have long ago turned off most decorations.
Programming got easier as soon as I started really internalizing that I am not programming a computer, per se, instead I am programming the editor.
For the out of box experience. This is at odds, or competition, with how much many users have customized it. I'm sympathetic, but not sure how to fix it. And, I think this is not fair, either. Blindly pasting in Word or Excel is also a frustrating experience. Just in a different way.
I’m sure there’s a way to set it up, but even after years of using emacs, I haven’t figured it out.
It took me 10 minutes to get VS code to import and index a non-trivial C++ code base, and that’s with no prior VS Code experience. It even popped up some hints when stuff started going sideways.
It's been a total game changer for me - it's allowed me to transition to using Emacs full-time for professional Python programming.
That said, plenty of starting packages that do have this setup. I think doom Emacs is the popular one nowadays.
Elisp is not the best lisp out there, but it is still a really powerful language. And that the editor doesn't have any tricks/parts that you can't use as a user is huge.
For example, when I'm writing C++ on Windows, I use Visual Studio. I do Python work in PyCharm. I use Sublime Text for Markdown and light duty text editing. If I'm working over an ssh connection, I use vi. If I'm writing a letter, I'll use Word or Pages. If I want a spreadsheet I use Excel. For slides I'll use Keynote or Powerpoint.
Today, I think VSCode is acting as the new Emacs.
https://github.com/zenghongtu/vscode-asciiflow2/issues/1#iss...
Nice, thanks for letting me know.