Skip to content

Repl Overhaul Release

Latest
Compare
Choose a tag to compare
@Totobird-Creations Totobird-Creations released this 30 Aug 17:39
· 31 commits to master since this release

Language Licence Docs Version

Added:

  • File reading and writing
  • Peridot command line command
    peridot [OPTIONS]* [FILE]? [ARGS]*

Modified:

  • REPL

Usage:

# File reading and writing

var file = include('file')

var f = file.open('test.txt')
print(f.read())
f.close()

var f = file.open('test.txt', mode='write')
f.write('Hello\n')
f.close()