diff --git a/src/basics-of-bend.md b/src/basics-of-bend.md index d05b29e..14cd776 100644 --- a/src/basics-of-bend.md +++ b/src/basics-of-bend.md @@ -11,10 +11,10 @@ def main(): return "Hello, World!" ``` -To run this program, save it in a file named `hello_world.hvm`. Then, execute it using the following command in your terminal: +To run this program, save it in a file named `hello_world.bend`. Then, execute it using the following command in your terminal: ```sh -bend run hello_world.hvm +bend run hello_world.bend ``` You should see the output "Hello, World!" in your console. diff --git a/src/setting-up-your-environment.md b/src/setting-up-your-environment.md index d338444..b4300dd 100644 --- a/src/setting-up-your-environment.md +++ b/src/setting-up-your-environment.md @@ -62,16 +62,16 @@ mkdir bend_project cd bend_project ``` -Inside this directory, create a new file named `main.hvm` which will be our entry point for Bend programs. +Inside this directory, create a new file named `main.bend` which will be our entry point for Bend programs. ```sh -touch main.hvm +touch main.bend ``` -Open `main.hvm` in your text editor and type in the following code: +Open `main.bend` in your text editor and type in the following code: ```python -# main.hvm +# main.bend def main(): return "Hello, Bend!" ``` @@ -81,7 +81,7 @@ def main(): To compile and run your Bend program, you'll use the `bend` command followed by the `run` subcommand and the file name: ```sh -bend run main.hvm +bend run main.bend ``` You should see the output `Hello, Bend!` in your terminal.