please
please copied to clipboard
Not sure if you'll like this one but it's fonky!
I'm sitting in the (excellent) devoxx.fr rust workshop and the challenge is to make a pull request to this project so here you go.
This is not really useful but an example of how to add a platform: my "Fonky" language works as follows:
- If there's a fonky.txt file in the current folder it activates the fonky platform (which has priority over rust)
- The "build" command copies fonky.txt to fonky.out
- The "run" command cats fonky.out
For this to work you need the "cp" and "cat" commands on your box.
That's it - I'm not proud of the functionality but it does work...feel free to ignore this PR then!