DEV Community

Discussion on: Want to help development of a programming language?

 
pranav2612000 profile image
Pranav Joglekar

Hey! I am having trouble figuring out how to run programs. Could you help me out?

Thread Thread
 
fennecdjay profile image
Jérémie Astor • Edited

Sure, and with pleasure.
Assuming you followed the build instructions and are in the source directory,

./gwion example/array_lit.gw

Will run example/array_lit.gw.

You can also try saving a hello_world in, say, hello.gw and run

./gwion hello.gw

Just to be sure, here is an example hello_world in gwion:

<<< "Hello, World!" >>>;

Running this should ouput `Hello, World!" in the terminal.

Let me know 😄


I'm ok to answer on DEV, put I think this is the natural use case for github issues.

Thread Thread
 
pranav2612000 profile image
Pranav Joglekar

Sure! Let's move this conversation there! Thanks.