Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Apr 08 2018 19:36

    brixen on master

    Recommend ruby-install over bui… Clarity around old ruby-depende… Merge pull request #3 from jack… (compare)

  • Apr 08 2018 19:36
    brixen closed #3
  • Apr 08 2018 19:36
    brixen commented #3
  • Apr 08 2018 19:26
    jackdesert synchronize #3
  • Apr 08 2018 19:17
    jackdesert opened #3
  • Feb 06 2018 13:14

    gitbook[bot] on master

    Updates manuscript/io.md Auto … (compare)

  • Feb 05 2018 19:08

    gitbook[bot] on master

    Updates manuscript/io.md Auto … (compare)

  • Jan 05 2018 17:10

    chuckremes on master

    add notes on how to update prei… (compare)

  • Mar 21 2017 05:00

    brixen on master

    Add note about building with LL… (compare)

  • Nov 22 2016 01:41
    brixen commented #2
  • Nov 21 2016 12:41
    abnud1 edited #2
  • Nov 21 2016 12:41
    abnud1 opened #2
  • Aug 28 2016 03:24

    brixen on master

    Some preface edits. (compare)

  • Aug 27 2016 04:05

    brixen on master

    Fixed typo. (compare)

  • Aug 27 2016 04:04

    brixen on master

    Fixed some preface formatting. (compare)

  • Aug 26 2016 22:06

    brixen on master

    Added dedication and more prefa… (compare)

  • Aug 21 2016 22:03

    brixen on master

    Some edits for Preface. (compare)

  • Aug 21 2016 04:53

    brixen on master

    Updated file naming and ToC. (compare)

  • Aug 20 2016 22:00

    brixen on master

    Updated Leanpub book.txt. (compare)

  • Aug 20 2016 21:56

    brixen on master

    Moved some stragglers. (compare)

Brian Shirai
@brixen
@aolko could you add to your question? Is there particular info you’re looking for?
ShalokShalom
@ShalokShalom
ah, thanks a lot
what I am interested in: Rubinius treats functions differently as CRuby. Luckily. How does this work with IDEs and stuff?
aolko
@aolko
@brixen have you even read the book?
it's clearly unfinished
and rotting still
Brian Shirai
@brixen
@aolko I’m writing the book, so yes, I know this. 😉 Is there a topic or area you’re especially interested in?
@ShalokShalom CRuby doesn’t have “functions” (they are just methods on modules), but in Rubinius they will be actual functions with lexical scope. I don’t have a good answer on IDEs, but Rubinius is just a lot of Ruby objects (eg you can get Ruby objects for LexicalScope, BlockEnvironment, etc), so I expect an IDE to be able to use Ruby code to get info for eg intellisense like features
aolko
@aolko
using rubinius for language design
i.e. building a language on it
Brian Shirai
@brixen
Ok, cool, that’s my favorite topic! 😄 I’ll see about putting a tutorial together. If you’re curious in the meantime, check out http://atomy-lang.org and http://fancy-lang.org
aolko
@aolko
put it in a "explain like i'm 5" way
and make oop ooptional for it
Brian Shirai
@brixen
Ok cool. Is there an existing language that you are particularly fond of?
aolko
@aolko
and btw:
  • how fast is the result
  • can crystal-like compiled language be expected
    ?
Brian Shirai
@brixen
Cool, yeah, drop all your questions here
aolko
@aolko
i like
  • php
  • delphi
  • vb.net
  • ruby's sugar
  • python's sugar
Brian Shirai
@brixen
Take a look at Atomy and tell me what you think about it
aolko
@aolko
i wanted to make a ruby x php synergy, but it proved to be frustrating
Brian Shirai
@brixen
It’s a very creative language
aolko
@aolko
atomy's site is down
Brian Shirai
@brixen
Huh? I accessed it
aolko
@aolko
i mean, a working synergy that can be plugged in apache/nginx
ERR_CONNECTION_TIMED_OUT for me
Brian Shirai
@brixen
You want an embedded language? Like Lua was embedded in Nginx?
aolko
@aolko
oh and syntax rules should be defined in rule blocks like treetop
@brixen like perl in apache or like php in apache
Brian Shirai
@brixen
Atomy used Evan’s kpeg, and I’ve started adding PEG instructions directly into Rubinius instruction set
aolko
@aolko
grammar Arithmetic
  rule additive
    multitive ( '+' multitive )*
  end

  rule multitive
    primary ( [*/%] primary )*
  end

  rule primary
    '(' additive ')' / number
  end

  rule number
    '-'? [1-9] [0-9]*
  end
end
this way
but with verex instead of regex
to improve human readability
since i'd like to let people to contribute to grammar/parser to extend the language
means it has to be KISS
Brian Shirai
@brixen
And check out Atomy’s parser
And kpeg, it’s better than Treetop
Not knocking Treetop, I’ve known the author since 2008, just saying kpeg has some nice features, like left recursion detection
aolko
@aolko
i just got the structure of rule blocks from it
since it's simple
sources seem simple as well, but not as human-readable
(and too scattered)
Brian Shirai
@brixen
Well, the syntax will be up to you, but it’ll just compile to the Rubinius PEG instructions
The syntax of a PEG expressed in the syntax of a PEG is a pretty sweet thing 😂
aolko
@aolko
again, with verex instead of regex
VerbalExpressions look it up
Brian Shirai
@brixen
Ok, leave me all your question, gotta run for now
ShalokShalom
@ShalokShalom
So, let me get this straight: When you say there WILL be functions in Rubinius, that means its not ready yet? And IDE support is something that has to be added? Do you consider adding support to the LSP plugin?