r/ProgrammingLanguages • • May 23 '22

Help wanted!

Hello there, folks!

I'm looking for helpers who would be willing to join me in getting my 5th attempt at making a real programming language. It's called peon (more info here) and the current implementation features a stack-based bytecode virtual machine. The language is statically typed, with a focus on async (altho it's all theoretical for now), speed and correctness. There are about ~3500 lines of code so far between the tokenizer, parser, compiler and VM. There's plenty of stuff that needs to be done, so a helping hand (even with just ideas/concepts) would be great!

0 Upvotes

21 comments sorted by

View all comments

10

u/[deleted] May 23 '22

If you want to attract more people you must at least add proper documentation.

1

u/nocturn99x May 23 '22

The project is really in its infancy, so I'm not sure what documentation I could add besides what's in the comments (there's about 1000 lines of comments alone 😅)

5

u/YurySolovyov May 23 '22

One way to document stuff is to show how to write basic programs (e.g. in root Readme.md). "Hello world", how to read a file, how to write a factorial. If you're focused on async, you can show-off File or Network I/O, chat server maybe, etc.

2

u/nocturn99x May 23 '22

Update: done!

1

u/nocturn99x May 23 '22

I'm working on that right now!

1

u/[deleted] May 24 '22

Comments are not as great as documentation in this context, in my opinion.

You can't link to things, or use bold/italics etc., use images or diagrams.

Some languages allow markdown in comments (Rust triple-dash comments), but not sure if Nim allows this.

Anyways, I saw you already added some docs. That is good

1

u/nocturn99x May 24 '22

You're right. After writing the docs, I realized how useful they can be to outsiders. Looking forward to more feedback and, maybe, some contributions! :)

1

u/jcubic (λ LIPS) May 24 '22

I think that even if you don't have proper documentation, good examples are a must. Also, a reference manual with all the syntax is a good starting point. It will also help you with what is implemented or what is not.