xavitator / nut-lang

MIT License
0 stars 0 forks source link

First participation #1

Open FauconFan opened 6 years ago

FauconFan commented 6 years ago

Hey ho !

Hello friends, this issue is just to see if you have seen this project. :) Post a comment when you have read the README file and see what you have to see.

The last one, will close this issue.

0/2

maiste commented 6 years ago

I've read the README. I just have two questions about it. First, is there an existing site to generate usual JSON ? Then, each doc will be different depending on the language. We should use the common doc for every language. For instance : javadoc for java, odoc for Ocaml, Sphinx for python,etc. Otherwise I agree with the rest :smile:

FauconFan commented 6 years ago

First, there are a lot of websites to generate custom formatted data. Just ask google. Xavier has found a lot of testsuite json files, see #10 Second, I have to do this. ^^

FauconFan commented 6 years ago

https://github.com/Heijix/nut-lang/blob/master/CODE_OF_CONDUCT.md

Here it goes, tell me if there is something wrong

xavitator commented 6 years ago

Ho, damn, I didn't say 1/2! This issue is just to start the Project, those question are in other issues @elusyo 😊

FauconFan commented 6 years ago

eaff7d0796095152d47882fbf20f0516963d73c1

I change the grammar, Generated objects can be lists now in the main scope.... Json needs this...
Xavier, you were right

xavitator commented 6 years ago

Do we keep list<> to declare an array type? Do we accept generic array? To explain, we need to declare the type of at least one object in the list. If we don't declare a type (list<>), we can store any object type.

FauconFan commented 6 years ago

By default, lists can store any kind of datas, miscellaneous type, if they want. But we can force it, by using the generic protocol, then list is a list of chars... If there is another type, it's an error.

I hope it answers your question, because i don't really understand the last part.

P.S.: If there is a generic notation '<>' on objects, it's ignored for the moment, maybe in next release.