First
Prev
Next
Last
2014–12–28
1393/10/07
ANNO·​DVODEVICESIMO·​DIE·​TRECENTESIMO·​QVINQVAGESIMO·​QVARTO·​VITÆ·​POVYA
A screenshot of my mac. On the background is Xcode open, and then there is this terminal with Swifty open showing snippets of code with the idea of 'stored spaces' in Arendelle Language that I have just implemented. Spaces are like variables in Arendelle Language, to define them you do (name, value) and to use them you use @value. Stored spaces are different in they are stored on files with .space extension. To define them you do ($name, value) and the $name is the address of the file. If you do $name, Arendelle Language will make a file as name.space and places the value in it. This can also become directories so ($foo.bar, 17) stores 17 in ./foo/bar.space. It is also that spaces are actually arrays and you can expand them. So when someone define (foo, 17) it is basically let foo = [17], and @foo is the sugar-syntax for foo[0]. You can write to the next indices like (foo[4], 24) and this automatically expanse foo = [17] to foo = [17, 0, 0, 24]. (In Arendelle Language indices start from 1). These were all designed to make coding easier. Children would hardly encounter bugs in the size of an array, and the language was designed to be forgiving as much as possible. A nice detailed, designed by Micha, was to ask the length of the space, you would do @foo? and it was like foo.length. I really liked the question marking asking from the @foo. You could also define an array filled at first like: (foo, 1; 2; 3; 4; 5).
入 ( $folder.spaces.hello , 20 )

入 ( space , 50 )

入 = $folder.spaces.hello + @space
   = 20 + 50
   = 70

入 ( $folder.spaces.hello , done )

入 = $folder.spaces.hello
   │ 🞭 Compilation Failed Because Of 2 Known Errors
   │ → no stored space as '$folder.spaces.hello' found
   │ → no stored space as '$folder.spaces.hello' found

入 ▋

As found in my chats with Micha , I was implementing Arendelle Language ’s Stored Spaces for Swifty .