Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 01:09
    digitalcora edited #12798
  • 01:09
    digitalcora edited #12798
  • 01:05
    digitalcora edited #12798
  • Nov 28 21:56
    Blacksmoke16 labeled #12799
  • Nov 28 21:56
    christopherzimmerman labeled #12799
  • Nov 28 21:56
    christopherzimmerman opened #12799
  • Nov 28 20:55
    straight-shoota closed #12781
  • Nov 28 20:54
    straight-shoota labeled #12798
  • Nov 28 20:24
    digitalcora labeled #12798
  • Nov 28 20:24
    digitalcora opened #12798
  • Nov 28 20:23
    straight-shoota edited #12797
  • Nov 28 20:23
    straight-shoota edited #12797
  • Nov 28 20:22
    straight-shoota synchronize #12797
  • Nov 28 20:20
    straight-shoota labeled #12797
  • Nov 28 20:20
    straight-shoota labeled #12797
  • Nov 28 20:20
    straight-shoota opened #12797
  • Nov 28 19:38
    beta-ziliani reopened #12796
  • Nov 28 19:35
    beta-ziliani closed #12796
  • Nov 28 19:06
    beta-ziliani labeled #12796
  • Nov 28 19:06
    beta-ziliani labeled #12796
Kent 'picat' Gruber
@picatz
I can run things
It probably needs some touch ups.
Weston
@wwselleck
I'd be happy to contribute, I'm just trying to get into the crystal community in any way
ive been jumping arund between different new languages and have definitely settled here
Kent 'picat' Gruber
@picatz
Feel free to man!
Like, I'm sure it needs the help.
command_lion can give some clues as to what I'm going to end up going for with argz
for one thing, argz things of flags as strings that start with - or --
Which I don't enforce in command_lion
There's also some other cases in argz where I'm not being consistent with command lion and can't think of.
But, it has a wiki
Weston
@wwselleck
you dont want to enforce flags starting with - or --?
Kent 'picat' Gruber
@picatz
Nah
I want the user to be able to do that.
Weston
@wwselleck
you want that configurable or something?
Kent 'picat' Gruber
@picatz
Maybe that'd be cool
But, it can be just sort of naturally enfored in the app's style
like the person developing the app could choose to use - or -- style flags or not
The string really shouldn't matter, after I thought about it
Weston
@wwselleck
whatr the other flag options?
Kent 'picat' Gruber
@picatz
Right now it's just a silly short and long thing going on
Command lion handles flags how I want argz to.
the flags keyword for a command block does some nice things :
Weston
@wwselleck
ahh ok ill take a look at that
Kent 'picat' Gruber
@picatz
It will take the first argument as the the short argument if not used in a block
Weston
@wwselleck
also, any particualr reason you're double dipping in ruby and crystal and not just full on crystal?
im no ruby dev, but to me it looks like there are only upsides to crystal
as opposed to ruby
Kent 'picat' Gruber
@picatz
I love ruby, a lot.
Weston
@wwselleck
i want to love ruby, but have always been turned off by the speed
Kent 'picat' Gruber
@picatz
There's also some really nice debugging support that I miss when developing crystal.
Ruby's speed has come into play a handful of times in my life.
But, usually I just like the syntax compared to something like go
Weston
@wwselleck
oh i use go at work and do not like it at all
Kent 'picat' Gruber
@picatz
I love the crystal takes the best of both worlds in a way
Weston
@wwselleck
i tried making that "my" language, but just coudlnt
Kent 'picat' Gruber
@picatz
I've done some weird stuff like doing go bindings to ruby.
Weston
@wwselleck
its just tooo bare bones. Just to make a data type sortable takes like 50 lines.
Kent 'picat' Gruber
@picatz
I think Crystal does everything go does better ( in my opinionated opinon )
Feel free to make issues or whatever as you find them and we can address them on github / put that shiz into version control
Even if you have questions for how something works.
That way, if someone else had a similar question, at least it'd be documented.
This would be triggered using ./myprogram --read
?
Kent 'picat' Gruber
@picatz
it'd be $ruby app.rb --read file.txt
for that one
( I'm dumb sometimes, sorry :smile: )
I'd like to add :file type I'd think