Mush Formatter - New Version Released!
-
What's going on everyone? Been a while since I've posted!
Still writing mushcode?
Still working with a single line of text?
Wish there was a way to make your code human readable?Enter Mush-Formatter!
The basic rules: Any line that has something in the first character will count as a new command. Indents matter!
&cmd_awesome #123 = @pemit %#=This command is awesome!!; @pemit %#=Another thing!
will translate to:
&cmd_awesome #123 = @pemit %#=This command is awesome!!; @pemit %#=Another thing!
As an example, let's take a look at some of @Thenomain's pretty formatted code sample. Now, when we put this through the formatter we get... This!
The interactive version of the formatter is available at format.ursamu.io
The non-interactive 'fast' formatter is available for GET requests at
format.ursamu.io/api?include=url/to/text.txt
For more information visit the project repository: https://github.com/digibear-io/mush-format
Thanks for looking!
-
Another update! I've added some functionality to the GET request feature!
Now you can pull from git repositories directly!
format.ursamu.io/api?include=git:lcanady/archive-test
Or! You can drill in even further:
format.ursamu.io/api?include=git:lcanady/archive-test/code/file1.mush
Next, I'll be working on going the other direction - compressed code to pretty code. The GUI is fun, but I have to admit - being able to shortcut right to the output has proven hella useful.
Enjoy!