Skip to content

Commit

Permalink
Renamed crispy module file extension to .crspy
Browse files Browse the repository at this point in the history
  • Loading branch information
tk744 authored Dec 16, 2020
1 parent 2d7065b commit bde083c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Crispy is statically-typed functional programming language with type inference.
}
```

4. Module System - Crispy uses a simple importing mechanism which allows you to easily write modular code. For example, to import the definitions from the `vectors.cpm` module, simply add the following line to the beginning of your program:
4. Module System - Crispy uses a simple importing mechanism which allows you to easily write modular code. For example, to import the definitions from the `vectors.crspy` module, simply add the following line to the beginning of your program:
```python
import vectors
```
Expand All @@ -48,10 +48,10 @@ You can build the `cripsy` interpreter using the Makefile:
- Run `make clean` to remove object files and executables.

### Run
To execute a `<file>.cpm` Crispy program, run the `crispy` interpreter with `/.crispy <file>.cpm`.
To execute a `<file>.crspy` Crispy program, run the `crispy` interpreter with `/.crispy <file>.crspy`.

The `examples` directory contains many example Crispy programs which demonstrate different features of the language. You can execute any of these example programs with `/.crispy examples/<file>.cpm`.
The `examples` directory contains many example Crispy programs which demonstrate different features of the language. You can execute any of these example programs with `/.crispy examples/<file>.crspy`.

The `tests` directory contains a suite of Crispy programs that are used to verify the correctness of interpreter. You can execute all of the tests with `/.crispy tests`. When applied to a directory, the interpreter finds and executes the `<directory>/main.cpm` driver program.
The `tests` directory contains a suite of Crispy programs that are used to verify the correctness of interpreter. You can execute all of the tests with `/.crispy tests`. When applied to a directory, the interpreter finds and executes the `<directory>/main.crspy` driver program.


0 comments on commit bde083c

Please sign in to comment.