Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@
A new programming language project

To run a console API for running scripts:

1. save the basic types codes in a file, for example system.txt. The code for this file is:

```
```csharp
namespace system

class string (const chars private basearray)
Expand Down Expand Up @@ -261,13 +262,15 @@ class Date (year, month, day, hour, minute)
}
}
```

2. save the code you want to run in another file, e.g. debug.txt. This file must start with `#include system`. For example:
```
```cs
#include system
print "Setup is complete (" + Date.now().toString() + ").\n"
```

3. Add program.cs looks like this:
```
```cs
using Exp;

public static class Program
Expand Down