Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Super simple file access proposal #150

Open
stretchyboy opened this issue Sep 19, 2018 · 2 comments
Open

Super simple file access proposal #150

stretchyboy opened this issue Sep 19, 2018 · 2 comments
Milestone

Comments

@stretchyboy
Copy link

stretchyboy commented Sep 19, 2018

If sound is standard input and output, the written word should be files.

File open
Open your heart to my love (write mode, assigns your heart as the file handle/accessor opening the file which is pointed at by my love)
Open the door from Hell (read mode)
Open the eyes of my heart (append mode)

File close
Close your heart
Close the door

Read line
See the writing on the wall ( this version reads file accessor/ file handle the wall and puts the next line into the writing)
Read your book to Joe ( this is the other way around your book is the file accessor and Joe the variable the line is assigned to)

Write line
Write your letter to John (content of your letter written to the file accessor John)
Write your tears on the page (content of your tears written to the page)

Aliases for Write are Carve, Sign, Scrawl, Type
in, on, upon and across are interchangeable ?

Examples
Open the heavens
The stars were the heavens
Carve my name on the heavens
Write your love in the stars

Sign your name across my heart

@stretchyboy
Copy link
Author

Wanting to add this, as some of my students want to use rockstar for a school project (the task they have been set is very easy for the time have set aside for it so they decided to try niche languages)

@stretchyboy
Copy link
Author

stretchyboy commented Sep 19, 2018

the w+ is going to be difficult in node so maybe of is append mode

@dylanbeattie dylanbeattie added this to the 2.0 milestone Mar 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants