Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Oct 20 15:07
    codecov[bot] commented #794
  • Oct 20 15:05
    codecov[bot] commented #794
  • Oct 20 15:03
    Maxwell-Alexius edited #794
  • Oct 20 15:01
    Maxwell-Alexius labeled #794
  • Oct 20 15:01
    Maxwell-Alexius labeled #794
  • Oct 20 15:01
    Maxwell-Alexius labeled #794
  • Oct 20 15:01
    Maxwell-Alexius assigned #794
  • Oct 20 15:01
    Maxwell-Alexius opened #794
  • Oct 20 13:09
    Maxwell-Alexius commented #568
  • Oct 20 02:00

    st0012 on master

    Use token factory method to rep… Use token factory method to ref… Merge pull request #793 from Ma… (compare)

  • Oct 20 02:00
    st0012 closed #793
  • Oct 20 02:00
    st0012 commented #793
  • Oct 20 01:59
    st0012 milestoned #793
  • Oct 20 01:59
    st0012 labeled #793
  • Oct 20 01:59
    st0012 labeled #793
  • Oct 20 01:59
    st0012 unlabeled #793
  • Oct 19 18:24
    codecov[bot] commented #793
  • Oct 19 18:22
    codecov[bot] commented #793
  • Oct 19 18:21
    codecov[bot] commented #793
  • Oct 19 18:20
    codecov[bot] commented #793
Stan Lo
@st0012
I think you should put a simple snippet and check if every statement in it has right line number
Adding this can help us debug more efficiently when developing compiler. You might also think we can just check the line number of the token directly, but I think it would be better if we don't touch token directly after the parsing phase.
Bo-Yi Wu
@appleboy
#39 Just add 1.8.x testing and remove 1.x
Please review.
Bo-Yi Wu
@appleboy
rooby-lang/rooby#40 Check coding style before someone make the new PR.
Stan Lo
@st0012
@appleboy Thanks for your PRs, already merged/replied 😄
Bo-Yi Wu
@appleboy
@st0012 remove fmt check command, just fix fmt errors from getreport card service.
Stan Lo
@st0012
@appleboy merged, thanks. BTW did you have any trouble running rooby command?
Niraj
@nirajk42
Hi @st0012. Regarding new syntax for while loop. How does Ruby handle that case?
Stan Lo
@st0012
Ruby’s parser can tell that the block is for while statement instead of the method in condition, so there’s no need to add a semicolon after the method call. (are you asking this?)
Niraj
@nirajk42
yes, so what we are not using the same thing here?
*why
Stan Lo
@st0012
Because integrating it will be a very huge job. But we will use a parser generator library in the future.
Hassam
@Heasummn
Sorry about the huge merge comment in the pull request, I misclicked
I'm not quite sure how to test the AST within the AST package, as you need a parser to generate an AST, but importing the parser creates a cyclic dependency, since the parser imports the AST, AST needs to import parser, etc.
If you can't tell, I'm a bit unfamiliar with Go. Parser design and Code gen is my specialization, but it looks like you've already done most of that
Stan Lo
@st0012
@Heasummn It’s ok, just remind you😁
And I think you should test AST in parser package as I did.
rooby’s next big feature would be “require” mechanism, maybe you can think about the code generation when we have to deal with multiple files at once?
I don’t have any idea about it now 😅
Stan Lo
@st0012
@all Hi guys, I just implement require_relative statement, so you can now require other files!
You can install the latest version and try:
$ rooby samples/require_relative/main.ro
Pavel Tsurbeleu
@ptsurbeleu

Hey @st0012,
Few days ago I stumbled upon your Rooby language repository on Github and I had a great time, going thru it and learning what & how…

Mostly things are very intuitive and can be quickly understood (I’m a Rubyist as well, novice-level btw), however there is one thing that is not quite clear to me yet and not covered in FAQ section as well.

Could you elaborate how does Rooby fit microservices landscape better than other technologies, such as Ruby/Ruby on Rails and etc.?

You should be able to write a microservice in “almost” any language… C#, Ruby, Go, Javascript, PHP, Python and etc…

Appreciate your help very much!

Stan Lo
@st0012
Technically you can write microservices in almost any language. But I think you rarely hear people developing microservices using ROR, because Ruby is not good at concurrency. Even if you use multi-process server like unicorn or multi-threaded server like puma, they still aren’t very performant compare with Go’s built in http package.
And I didn’t say rooby will be the best language for writing microservice, I just said it’s the goal for this language.
Stan Lo
@st0012
My expectation is simple: developing rooby applications should be as easy as developing Ruby applications. And when it comes to writing microservices, it should be more performant than Ruby applications.
@ptsurbeleu
Pavel Tsurbeleu
@ptsurbeleu
@st0012 I see, that makes sense. Looking forward to fruition of the idea :thumbsup:
@st0012 Btw, is rooby ready for a basic "Hello World" microservice example? Eager to sketch something... :smile:
Stan Lo
@st0012
No, I'm still developing basic language features. It will be version 0.1 when it's ready for hello world application and I will announce it 😄
I think it will happen on July
Pavel Tsurbeleu
@ptsurbeleu
yay! :smile:
Stan Lo
@st0012
And maybe we can speed up the development progress if we have more people get involved 😁
Ivan
@janczer
@st0012 Maybe we need to list of what features need to be done for version 0.1?
Stan Lo
@st0012
Sure I’m writing a roadmap for up coming months and will write a document about that.
Ivan
@janczer
@st0012 :+1:
Stan Lo
@st0012
Hello, I just wrote rooby-lang/rooby#72 for rooby’s first release, please take a look and leave a comment if you have any ideas 😁
@/all
Lyu0910
@Lyu0910
thanks!!
Stan Lo
@st0012
@/all Thanks to @adlerhsieh we now have homebrew formula for rooby https://github.com/rooby-lang/homebrew-rooby 😁
Stan Lo
@st0012
After performance improvement branch is merged, I will release 0.0.1 😁
Stan Lo
@st0012

Hello, good news: @adlerhsieh already help us released version 0.0.1 and mac user can easily install it via homebrew:

$ brew tap rooby-lang/rooby
$ brew install rooby

Please mention me or @adlerhsieh if you have any issues install it 😁

Stan Lo
@st0012
@/all Hi I just changed the project’s name to goby, but I won’t move gitter chatroom for now.
Bo-Yi Wu
@appleboy
OK
goby is sounds good to me.
Stan Lo
@st0012
@/all Hi I have trouble deciding if we should support method call without parens like Ruby, and I need your feedback, please help me with this 🙏. Details described in here goby-lang/goby#84
Ishan Khare
@ishankhare07
just for knowing, how is this project different/better than https://crystal-lang.org/ , how are they fundamentally different in their motives/goals?
Stan Lo
@st0012
I don’t think these two are comparable, at least I never want it to compete with or replace crystal
And the motives/goals already mentioned in readme and fequently questions, you can check them out first.
Stan Lo
@st0012
For those who are interested in contributing VM, I added a specification of goby’s bytecode instructions. https://github.com/goby-lang/goby/blob/master/Instructions.md
cc @janczer @adlerhsieh
Ivan
@janczer
@st0012 wow, awesome! Thanks!
Ishan Khare
@ishankhare07

For those who are interested in contributing VM, I added a specification of goby’s bytecode instructions. https://github.com/goby-lang/goby/blob/master/Instructions.md

this link doesn't seem to work actually