Picotron Playground -- an experimental web-based edition of my WIP Fantasy Workstation -- is OUT NOW! It includes a code editor and terminal program for poking around some demos of the #picotron API and runtime.

https://lexaloffle.com/bbs/?tid=50923

Picotron Playground

@zep Hey, are you be fine with us also peeking around in the system folder.

Was able to write a small crappy script that show the content of "/system/tools/code.lua" for example. Mind if I would share this.

Or is there even a build in tool like less or cat to inspect those files. ... vim on picotron... oh the possibilities ... I'm a bit excited... :D

@ztiromoritz sure, np! Note that there is a lot of placeholder stuff in there though.

There isn't cat etc. yet but of course there will be :)

@ztiromoritz I just realised.. you can use /system/tools/code.lua for that too:

$ /system/tools/code /system/util/mkdir.lua

@zep haha, I missed this combination, after $ load system/api.lua
did not work.

The scripts that are directly in system/ seemed to be on the PATH. But not code.lua So I stopped there. And took a hard look at the js bundle which includes the files and learned some api from there to write my script.