JumperBot / Unsafe-4-Bit

The UFB (Unsafe Four Bit) Programming Language -- FAST | EASY | VERBOSE -- Built With Rust

Home Page:https://jumperbot.github.io/Unsafe-4-Bit/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

:sparkles: Read/Write To Files! (Please)

JumperBot opened this issue · comments

Is your feature request related to a problem? Please describe.
I've been needing to automate file reads/writes, maybe it could be implemented here somehow.

Describe the solution you'd like
Make two new commands for writing or reading a file.

Describe alternatives you've considered
Using the bash syntax:

java UFB ThisFile.optimized.ufbb > WriteToThisFile.txt
java UFB ThisFileNeedsInput.ufbb < ReadThisFile.txt

Additional context
Probably a syntax like this:

rfile  38  <FILE_NAME_GOES_HERE>  // Read file into memory index 38
wfile  38  <FILE_NAME_GOES_HERE>  // Write data in memory index into a file