DEV Community

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

 
fennecdjay profile image
Jérémie Astor

I'm a bit busy this week, but I just pushed a doxygen documentation for the util directory. I hope it helps.
I'll do the same for [ast] and core gwion source.
Did you manage to build the language?

Thread Thread
 
pranav2612000 profile image
Pranav Joglekar

Not yet. I'll finish building this weekend.

Thread Thread
 
fennecdjay profile image
Jérémie Astor

Fine. Let me know, I'll help.

Thread Thread
 
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.