Ph0enixKM / Amber

💎 Amber the programming language compiled to bash
https://amber-lang.com
GNU General Public License v3.0
3.54k stars 70 forks source link

Add test code for stdlib #127

Closed arapower closed 1 month ago

arapower commented 1 month ago

Added test code for std functions.

Unaddressed Items

I am not familiar with Rust, so please point out any problems.

Closes #117

b1ek commented 1 month ago
  • input function: Couldn't figure out how to write the code

you could write code like print(input()) and feed something into stdin via rust, then check that stdout = stdin. i can't implement this today on my own as my workstation broke, but someone else could

arapower commented 1 month ago

@b1ek Can you take a look at this?

arapower commented 1 month ago

@b1ek Thank you for your commit.