Talk:Unary Filesystem
Jump to navigation
Jump to search
An example program please?
This language indeed made me laugh. But I could never understand anything without examples, care to program an example of Hello World, for example, and then explain it? --D (talk) 08:56, 11 June 2020 (UTC)
How are folders stored on disk?
The page suggests that folders take 0 bytes to represent, but that an empty folder can still be distinguished from a non-empty folder. I'd be curious to know how this filesystem is stored on disk. I rather expect magic is involved. --Chris Pressey (talk) 09:33, 11 June 2020 (UTC)
- Yes, I see the problems with this now. But if each folder contains either a folder or an empty file, the interpreter can be passed the outermost folder and go down a level in the folders until it reaches the file. It can store an internal counter, but the file itself (which is how code golf usually scores) is 0 bytes. It's the way of passing it to the interpreter that matters. PythonshellDebugwindow (talk) 12:45, 11 June 2020 (UTC)