apio
f1668853dd
Planning to use LLVM to make stuff easier. Also, moved the random sapphire stuff to actual examples in an actual examples/ folder. Also started a standard library even if the compiler is not ready, because why not?? Also, it helps the examples.
10 lines
193 B
SourcePawn
10 lines
193 B
SourcePawn
import core/io;
|
|
import core/fs;
|
|
|
|
@main {
|
|
io.out('What\'s your name? ');
|
|
str name = io.in();
|
|
fs.File nameFile = fs.open('name.txt');
|
|
nameFile.write(name);
|
|
nameFile.close();
|
|
} |