Perl 6 - the future is here, just unevenly distributed

IRC log for #perl11, 2015-04-19

| Channels | #perl11 index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
00:08 willthechill ToApolytoXaos: okay I'm back
00:08 ToApolytoXaos welcome back
00:08 willthechill thanks!  got a little bit of Eagle Scout rank advancement done with one of my older Scouts.  :)
00:09 ToApolytoXaos i have no idea how a Scout ranking goes :) lol
00:09 ToApolytoXaos i never dealed with boy scouts of whatsoever
00:09 willthechill it is lots of work in every area of life
00:09 ToApolytoXaos i learned to survive as a hunter myself
00:09 willthechill takes thousands of hours to complete
00:09 willthechill haha yes we do hunting and survival!
00:09 willthechill quite a lot of it, in fact
00:10 ToApolytoXaos i served for 27 months for military and i know a few things ;)
00:10 willthechill wow great!
00:10 ToApolytoXaos waste of valuable time in my opinion
00:10 willthechill haha well if you learned survival skills, then it was not a waste
00:10 ToApolytoXaos no, those things i learned them from my family
00:10 willthechill I choose Scouting instead of military, my whole family is military
00:11 willthechill ah well then!  family is better than military haha!
00:11 ToApolytoXaos i would have done the same as you
00:11 ToApolytoXaos i saw the BOUNTYs
00:11 willthechill the easiest one is "BUG BOUNTY #000"
00:11 willthechill reformatting number outputs
00:11 willthechill to match number inputs
00:12 ToApolytoXaos i downloaded the tar.gz
00:12 willthechill cool!
00:12 ToApolytoXaos unless i should fetch from github to work locally
00:12 willthechill actually yes you should fetch from github
00:13 ToApolytoXaos cool. i will do it tomorrow because right now i'm weighing onions as we say in my country :D
00:13 ToApolytoXaos to indicate how sleepy you are
00:13 ToApolytoXaos that you bounce left and right
00:13 willthechill haha "weighing onions", nice!
00:13 ToApolytoXaos indeed it's very nice idiom
00:14 willthechill if I am ever unavailable on IRC, then you can send me a FB message which will pop up on my phone
00:14 ToApolytoXaos anyway mate, i will see you tomorrow. sure, that's the plan
00:14 willthechill otherwise, just come chat on IRC  :)
00:14 willthechill okay goodnight my friend!
00:14 ToApolytoXaos now that i have found you...muahahaha :D you will suffer :D
00:14 willthechill haha we shall see!  :P
00:14 ToApolytoXaos we will :) and that's a promise
00:14 ToApolytoXaos i needed a mentor
00:14 willthechill it's hard to make me suffer more than I am already suffering at the hands of RPerl internals
00:15 ToApolytoXaos you have kids, correct?
00:15 willthechill yes sir
00:15 ToApolytoXaos have they started the "why" loop?
00:16 ToApolytoXaos with endless questions and nagging?
00:18 ToApolytoXaos if not, i will be doing this to you with my various questions :D
00:19 ToApolytoXaos anyhow mate, goodnight. see you tomorrow
02:58 travis-ci RPerl build errored. Will Braswell says 'Grammar, AST to Class Mapping, Part 13'
02:58 travis-ci http://travis-ci.org/wbraswell/rperl/builds/59086320 https://github.com/wbraswell/rperl/compare/b6304a0313e7...109b8cae0301
03:00 willthechill dang erroring
03:00 willthechill gotta figure that out
04:20 travis-ci RPerl build errored. Will Braswell says 'Grammar, AST to Class Mapping, Part 14'
04:20 travis-ci http://travis-ci.org/wbraswell/rperl/builds/59089515 https://github.com/wbraswell/rperl/compare/109b8cae0301...bd713bd3257c
04:22 willthechill yeah yeah
07:14 travis-ci RPerl build errored. Will Braswell says 'Generator, Perl Ops Perl Types, Module Header'
07:14 travis-ci http://travis-ci.org/wbraswell/rperl/builds/59096443 https://github.com/wbraswell/rperl/compare/bd713bd3257c...3fbe6a67c7f4
07:15 willthechill blah blah
09:31 ToApolytoXaos joined #perl11
09:31 travis-ci RPerl build passed. Will Braswell says 'Makefile, Fix Broken $OSNAME'
09:31 travis-ci http://travis-ci.org/wbraswell/rperl/builds/59102189 https://github.com/wbraswell/rperl/compare/3fbe6a67c7f4...933c397f7d5e
09:36 willthechill cool beans!
09:36 willthechill ToApolytoXaos: I'm just about to eat dinner and watch Star Trek!
09:37 willthechill for the first time since my failed launch at Christmas 2013, RPerl is actually emitting (at least some fragment of) valid code, as of now
09:37 willthechill my failure was my attempt to use the high-magic Perl 5 pseudo-parser called PPI as my RPerl parser
09:38 willthechill instead I had to write my own RPerl grammar from scratch using EYAPP
09:39 ToApolytoXaos brilliant :D
09:39 willthechill anyhow, see if you can pull the latest code from github (very latest, I just updated) and get it to totally build and pass 100% of all tests on your machine
09:39 ToApolytoXaos wow...it's 4am and you are still awake?
09:39 ToApolytoXaos oh i wanted to ask
09:39 willthechill yes it is late
09:39 willthechill haha!
09:40 willthechill I need to eat and Trek
09:40 willthechill and sleep
09:40 ToApolytoXaos i'm not using perlbrew, but i have installed the latest perl
09:40 willthechill church soon!
09:40 willthechill 9am
09:40 willthechill that's fine
09:40 willthechill perlbrew is only for people who have a crappy operating system
09:40 ToApolytoXaos so, should i just run the standard makefile.pl and that's it?
09:40 willthechill like red hat or one of it's derivaties
09:40 willthechill BLAH *derivatives
09:40 ToApolytoXaos yeah i feel you :/
09:40 willthechill make clean; perl Makefile.PL; make; make test
09:40 willthechill just passed on my system
09:41 ToApolytoXaos brilliant :D
09:41 ToApolytoXaos i will check it as soon as possible
09:41 willthechill you can also do a `make install` if you want, but I suggest waiting on that until you set up local::lib
09:41 willthechill okay let me know how it works out!  :)
09:42 willthechill please see the INSTALL file
09:42 willthechill I just updated it!  :)
09:42 willthechill https://github.com/wbraswell/rperl/blob/master/INSTALL
09:42 ToApolytoXaos yes, i read the INSTALL
09:42 ToApolytoXaos ok
09:42 willthechill okay great, only minor updates
09:42 willthechill to that file
09:43 ToApolytoXaos lovely :)
09:43 willthechill mostly I suggest you use local::lib
09:43 willthechill that is why I point you to INSTALL file
09:43 ToApolytoXaos how to check whether i have it installed or not?
09:43 ToApolytoXaos (totally newbie on this lol)
09:43 willthechill set | grep perl5
09:43 willthechill # Ensure the following 3 environmental variables are updated to include ~/perl5:
09:43 willthechill # PERLBREW_MANPATH, PERLBREW_PATH, PERLBREW_ROOT
09:44 willthechill if you have not installed local::lib on purpose, it is probably not installed
09:44 willthechill oops wrong paste!
09:44 willthechill Ensure the following 4 environmental variables are updated to include ~/perl5:
09:44 willthechill # PERL_MM_OPT, PERL_MB_OPT, PERL5LIB, PATH
09:44 willthechill only slightly different
09:45 willthechill I accidentally pasted from STEP 1B (perlbrew) instead of STEP 1A (local::lib)
09:45 willthechill please follow step 1a
09:45 willthechill since you are a newbie
09:45 willthechill do NOT follow step 1b!
09:45 willthechill 1a and 1b are mutually exclusive
09:45 willthechill and of course not 1c either, since you do not use Windows
09:45 willthechill skip 2a
09:46 willthechill you need to get the latest github code, so do 2b instead of 2a
09:47 willthechill it should run the tests during install, but you can re-run the tests again after install manually with the `make` commands previously mentioned
09:47 willthechill anyhow, I'm off to eat, good luck, I'll help after I sleep, haha!  :)
09:47 ToApolytoXaos cheers mate
09:56 ToApolytoXaos bummer...it complains i don't have the correct access rights :/
09:58 ToApolytoXaos i had to use this "git clone https://github.com/wbraswell/rperl.git" instead of "git clone git@github.com:wbraswell/rperl.git" to fetch latest code
13:28 rurban_ joined #perl11
17:44 willthechill ToApolytoXao: interesting!  do we know why one git command worked and the other didn't?
18:02 ToApolytoXaos i rest my case on this one lol
18:02 ToApolytoXaos i tested your code; it passes the tests, but i can't use rperl for some reason
18:03 ToApolytoXaos also your installation instructions are not clear enough
18:12 willthechill well if you got all the tests to pass then that's half the battle, haha!  :)
18:12 ToApolytoXaos too many warnings though about choosing one of rperl available binary
18:13 willthechill if you get that warning it is because you have multiple conflicting RPerl installations
18:13 ToApolytoXaos in what way?
18:13 ToApolytoXaos i said to it make clean
18:13 willthechill did you ever do a `make install`?
18:13 ToApolytoXaos nope
18:13 willthechill okay well that's good
18:13 willthechill can you do a global system search for all files named exactly `rperl`?
18:14 willthechill there should only be one `rperl` executable file
18:14 willthechill in the script/ directory
18:14 ToApolytoXaos where to look exactly?
18:14 ToApolytoXaos ah ok
18:14 ToApolytoXaos give me second
18:14 willthechill system-wide search
18:14 ToApolytoXaos the entire / you mean?
18:14 willthechill yes sir
18:14 willthechill obviously you can discard places like /proc or /dev
18:14 ToApolytoXaos cheers, ack-grep for the win :D
18:14 willthechill yes grep is good!
18:14 ToApolytoXaos ack is ever better :D
18:15 willthechill don't know ack myself
18:15 willthechill there is a way to suppress those warnings, but it is there for a reason, because obviously it can be bad to have conflicting installs
18:16 willthechill `export RPERL_WARNINGS=0`
18:16 ToApolytoXaos i haven't touched those
18:16 willthechill but don't do it!  we need to actually see why the warning is triggered
18:16 willthechill :)
18:17 ToApolytoXaos cool
18:17 ToApolytoXaos still searching
18:17 willthechill *nods*
18:18 willthechill meanwhile... the actual command to see RPerl do anything at all:
18:18 willthechill rperl -v -d -m ops=PERL ./lib/RPerl/Test/Fu.pm
18:18 willthechill the PERL ops mode is an RPerl-to-RPerl test mode
18:18 willthechill it does not output C++ code yet
18:18 willthechill I just got the code generator hooked up at 4am this morning  :)
18:18 willthechill Fu.pm is a trivial test input file
18:19 willthechill then you should be able to see the Perl header properly re-generated here:
18:19 willthechill cat ./lib/RPerl/Test/Fu.pmc
18:19 ToApolytoXaos that's the thing; i can't use rperl directly :S
18:20 willthechill before cat, you must delete the previous PMC while which I accidentally allowed to be included in the github repo when I generated it myself
18:20 willthechill rm ./lib/RPerl/Test/Fu.pmc
18:20 willthechill I do not know what you mean when you say that you "can't use rperl directly"
18:20 willthechill can you please explain?
18:21 ToApolytoXaos for example, shouldn't I be able to access rperl from terminal, like the following command? rperl --help
18:25 willthechill yes except it is probably not in your PATH
18:25 willthechill all rperl commands must be run from the rperl root directory at this point
18:25 ToApolytoXaos ah ok
18:25 willthechill what is the directory where you fetched the git repo?
18:25 ToApolytoXaos by accessing it from the entire path you mean?
18:26 ToApolytoXaos what directory?
18:26 willthechill when you ran the git fetch command, what is the directory path where it downloaded the files?
18:26 willthechill is it like /home/foo/rperl
18:26 willthechill ?
18:27 ToApolytoXaos more or less; it's ~/GIT_CODE/ and it created rperl on its own
18:27 willthechill so it is this?
18:28 willthechill ~/GIT_CODE/rperl
18:28 willthechill ?
18:28 ToApolytoXaos yes
18:28 willthechill okay then do this
18:28 willthechill cd ~/GIT_CODE/rperl
18:28 willthechill ./script/rperl -v -d -m ops=PERL ./lib/RPerl/Test/Fu.pm
18:28 willthechill OOPS
18:28 willthechill wait
18:28 ToApolytoXaos lol
18:28 willthechill start over
18:28 willthechill cd ~/GIT_CODE/rperl
18:28 willthechill rm ./lib/RPerl/Test/Fu.pmc
18:28 willthechill ./script/rperl -v -d -m ops=PERL ./lib/RPerl/Test/Fu.pm
18:28 ToApolytoXaos yes, i did this
18:28 willthechill cat ./lib/RPerl/Test/Fu.pmc
18:29 willthechill those 4 commands
18:29 ToApolytoXaos i removed it; shall i rollback?
18:29 willthechill sorry I'm not totally clear on what you're asking
18:29 willthechill the PMC file is the output of the command
18:30 willthechill so you can delete it over and over
18:30 willthechill and it will be generated every time you run the rperl command
18:30 willthechill you wand to delete it before running the rperl command, so as to make sure that rperl properly generates the file
18:30 ToApolytoXaos ah, i thought you wanted me to paste the contents of the file after you said to delete it lol
18:30 willthechill actually yes I would like to see the contents of the PMC file, after you run the 4 commands in sequence
18:30 willthechill cd, rm, rperl, cat
18:31 willthechill even better, 5 commands:  cd, rm, cat, rperl, cat
18:31 willthechill the extra cat makes sure the file is properly deleted
18:31 willthechill you don't want to fool yourself into thinking the rperl command is correctly generating the PMC output file
18:31 ToApolytoXaos ok, let's stop for a second
18:31 ToApolytoXaos last night you said to run the following commands
18:32 ToApolytoXaos make clean; perl Makefile.PL; make; make test
18:32 willthechill yes you run those commands before anything else
18:32 ToApolytoXaos now, i removed the .pmc file
18:32 willthechill the `make` commands only need to be run once
18:32 ToApolytoXaos OK, let me run the make test them
18:32 ToApolytoXaos *then
18:32 willthechill if all the tests pass, then you're good!  :)
18:32 willthechill if you have already run the `make test` command and it passed, then you don't need to run it again
18:33 willthechill until you have made changes to the code or fetched new code from github
18:33 ToApolytoXaos WARNING WEXRP00: Found multiple rperl executables, using first located, /home/stefanos/GIT_CODES/rperl/blib/script/rperl
18:33 ToApolytoXaos lots of those
18:33 ToApolytoXaos and i wanted to ask; what's the reason of having your file named as rperl inside script/ directory?
18:33 willthechill if it has a blib/ directory, then something somewhere ran a `make install` commandd
18:33 willthechill it may not have been you running `make install` manually, but something did
18:33 ToApolytoXaos you could name it rperl.script and copy it to blib as rperl
18:34 ToApolytoXaos i have no idea
18:34 ToApolytoXaos i just ran the commands from your own instructions :/
18:34 ToApolytoXaos maybe something else installed it?
18:34 ToApolytoXaos but it's the first time i attempted to use RPerl
18:34 willthechill no nothing else would have installed rperl
18:34 ToApolytoXaos valid point
18:34 willthechill please do a `make clean` in the rperl directory
18:35 willthechill that should delete the blib directory
18:35 ToApolytoXaos i have it multiple times by now
18:35 ToApolytoXaos ah ok
18:35 willthechill then try the rperl commands again and hopefully the warning will disappear
18:35 willthechill did you ever use the `cpanm` command to install rperl?
18:36 willthechill because I remember you said you "downloaded the tar.gz file"
18:36 willthechill but I assumed it was the one linked off of github website
18:36 willthechill the only way I know of that will create the blib/ directory is `make install`, which is triggered by the `cpanm` command
18:37 ToApolytoXaos wait a minute...is it possible it searches Downloads directory in a way?!
18:37 willthechill the warning is triggered by finding multiple rperl executables in your PATH
18:37 ToApolytoXaos OK, time for investigation
18:37 ToApolytoXaos brb
18:37 willthechill that's why I asked you to do a system-wide search for files named exactly "rperl"
18:37 willthechill did you ever finish that search?
18:38 willthechill and did the `make clean` cause the warnings to disappear?
18:38 willthechill if `make clean` caused the warnings to disappear, then the only "extra" copy of rperl was in blib/ and problem solved
18:39 willthechill if `make clean` did NOT disappear the warnings, then we must fall back to the system-wide search to see where else the `rperl` executable is being found
18:39 ToApolytoXaos blib does not exists inside my rperl directory after make clean
18:39 willthechill okay so did the warnings disappear now?
18:39 ToApolytoXaos you mean to rerun the whole procedure?
18:39 willthechill re-run the 5 commands: cd, rm, cat, rperl, cat
18:40 willthechill do NOT re-run the `make` commands
18:40 ToApolytoXaos you lost me
18:40 willthechill 5 commands:
18:40 willthechill cd ~/GIT_CODE/rperl
18:40 willthechill rm ./lib/RPerl/Test/Fu.pmc
18:40 willthechill cat ./lib/RPerl/Test/Fu.pmc
18:40 willthechill ./script/rperl -v -d -m ops=PERL ./lib/RPerl/Test/Fu.pm
18:40 willthechill cat ./lib/RPerl/Test/Fu.pmc
18:40 willthechill AKA cd, rm, cat, rperl, cat
18:41 willthechill the first cat is to make sure the rm was successful
18:41 willthechill the second cat is to make sure the output of rperl was successful
18:41 ToApolytoXaos ok
18:41 ToApolytoXaos brb
18:42 ToApolytoXaos i ran the "./script..." command and got this
18:42 ToApolytoXaos Can't locate RPerl.pm in @INC (you may need to install the RPerl module) (@INC contains: /home/stefanos/perl5/lib/perl5/x86_64-linux-gnu-thread-multi /home/stefanos/perl5/lib/perl5 /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.20.2 /usr/local/share/perl/5.20.2 /usr/lib/x86_64-linux-gnu/perl5/5.20 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.20 /usr/share/perl/5.20 /usr/local/lib/site_perl .) at ./script/rperl line 5.
18:42 ToApolytoXaos BEGIN failed--compilation aborted at ./script/rperl line 5.
18:43 willthechill AH
18:43 willthechill okay we DO need to re-run the `make` commands
18:43 willthechill sorry for the confusion
18:43 ToApolytoXaos cool
18:43 willthechill at least, I THINK that's what we need to do
18:43 ToApolytoXaos without the last part of command, that of make test?
18:43 willthechill (hard to debug somebody's system remotely)
18:43 ToApolytoXaos true
18:43 willthechill correct, just omit `make test`
18:44 willthechill so just `make clean; perl Makefile.PL; make;`
18:44 ToApolytoXaos done
18:44 ToApolytoXaos what's next?
18:44 willthechill cd, rm, cat, rperl, cat
18:44 ToApolytoXaos ok
18:45 ToApolytoXaos rm not done; already removed; therefore cat is unnecessary
18:45 ToApolytoXaos rperl
18:45 ToApolytoXaos nope; the same issue as above
18:46 willthechill okay just a moment please
18:46 ToApolytoXaos take your time
18:46 willthechill did you run step 1a in the INSTALL file?
18:47 willthechill please paste the output of this command:  `set | grep perl5`
18:47 willthechill (this will test if you ran step 1a)
18:47 willthechill (step 1a is to install cpanm and local::lib)
18:47 willthechill also, what was the outcome of the system-wide search for files name 'rperl'?
18:48 ToApolytoXaos yes, you said 1a since i'm a newbie
18:48 ToApolytoXaos PATH=/home/stefanos/perl5/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
18:48 ToApolytoXaos PERL5LIB=/home/stefanos/perl5/lib/perl5
18:48 ToApolytoXaos PERL_LOCAL_LIB_ROOT=/home/stefanos/perl5
18:48 ToApolytoXaos PERL_MB_OPT='--install_base "/home/stefanos/perl5"'
18:48 ToApolytoXaos PERL_MM_OPT=INSTALL_BASE=/home/stefanos/perl5
18:50 willthechill okay I think I might know
18:50 willthechill BUT FIRST: what was the outcome of the system-wide search???
18:50 ToApolytoXaos about rperl?
18:50 willthechill yes
18:51 ToApolytoXaos well, it showed it only inside GIT_CODES, i hope you know a better command to share to prove me wrong
18:52 willthechill no that's fine, just wanted to make sure
18:52 willthechill so here's what I think
18:52 ToApolytoXaos let me double check it then
18:52 willthechill I think you're fine, but you can double-check if you like  :)
18:53 willthechill so anyway...  local::lib is a way to NOT install Perl code system-wide
18:53 willthechill when using local::lib, Perl code is installed inside of a user's home directory
18:53 willthechill for you, /home/stefanos/perl
18:53 willthechill oops, I mean /home/stefanos/perl5
18:54 willthechill after local::lib is properly set up, then any time Perl tries to install files they will go into ~/perl5 instead of a hundred different places scattered around your entire filesystem
18:54 willthechill so local::lib is GREAT
18:54 ToApolytoXaos ok, i double checked; everything is normal
18:54 willthechill anyhow, the 2 commands that will trigger RPerl installation are `cpanm` and `make install`
18:54 willthechill (cool about double check)
18:55 willthechill you are NOT installing using `cpanm` (step 2a)
18:55 ToApolytoXaos is cpamn behaving like Python's eggs?
18:55 willthechill I wrongly told you NOT to run `make install` but I was in error
18:55 willthechill I have no idea what Python's eggs are, sorry
18:55 ToApolytoXaos is "make install" going to place rperl inside ~/perl5/bin?
18:56 willthechill we DO need to run `make install` because then it will properly copy the rperl libraries and executable from ~/GIT_CODE/rperl to ~/perl5
18:56 willthechill yes
18:56 ToApolytoXaos ok
18:56 willthechill or probably ~/perl5/script
18:56 willthechill which is very similar to ~/perl5/bin
18:56 ToApolytoXaos suggestion
18:56 ToApolytoXaos if you go to script/ you will find rperl in it
18:56 ToApolytoXaos correct?
18:57 willthechill well yes, the path is script/rperl
18:57 ToApolytoXaos and then it gets copied inside lib/blib or something like that, also correct?
18:57 willthechill yes that whole convoluted blib/ process is automatic and part of Makefile.PL traditional functionality
18:57 ToApolytoXaos ok
18:58 ToApolytoXaos is it possible to rename the original rperl from script to rperl.script or rperl.original?
18:58 ToApolytoXaos this way, the conflict warning will go away
18:58 willthechill no I do not believe that is correct
18:58 willthechill so anyway back to the process...
18:58 ToApolytoXaos ok
18:58 willthechill cd ~/GIT_CODE/rperl
18:58 ToApolytoXaos yes
18:58 willthechill make clean; perl Makefile.PL; make; make install
18:59 willthechill (skip make test to save time)
18:59 willthechill THEN it should install from ~/GIT_CODE/rperl to ~/perl5/...
18:59 willthechill then you should be able to do this
18:59 willthechill cd ~
18:59 willthechill which rperl
18:59 ToApolytoXaos confirmed
18:59 willthechill and it should show ~/perl5/script/rperl
18:59 willthechill confirmed which part?
19:00 ToApolytoXaos a) the installation to ~/perl5/bin b) no, it shows ~/perl5/bin/rperl
19:00 willthechill okay bin/ is fine
19:00 ToApolytoXaos next?
19:01 willthechill next...
19:02 willthechill cd ~
19:02 willthechill rm ./perl5/lib/perl5/RPerl/Test/Fu.pmc
19:02 willthechill cat ./perl5/lib/perl5/RPerl/Test/Fu.pmc
19:02 willthechill rperl -v -d -m ops=PERL ./perl5/lib/perl5/RPerl/Test/Fu.pm
19:02 willthechill cat ./perl5/lib/perl5/RPerl/Test/Fu.pmc
19:03 willthechill (modified cd, rm, cat, rperl, cat)
19:03 willthechill then the warnings should disappear, hopefully
19:03 ToApolytoXaos rm, cat, no need
19:03 willthechill and the final output should work
19:04 ToApolytoXaos ok
19:04 ToApolytoXaos i run all this
19:04 ToApolytoXaos and let me double check something i just saw
19:05 willthechill did the warnings disappear?
19:05 willthechill what was the output of the final cat command?
19:05 ToApolytoXaos ok, if i go to ~/GIT_CODES/rperl and run "rperl -?" the warning is there
19:05 ToApolytoXaos if i go "cd ~" and run the same command, they disappear
19:05 willthechill yes, that is when you SHOULD see the warning, because it finds multiple rperls when you are in ~/GIT_CODE/rperl
19:06 ToApolytoXaos nice
19:06 willthechill yes that is correct
19:06 willthechill and what about the final cat output?
19:06 ToApolytoXaos cat ./perl5/lib/perl5/RPerl/Test/Fu.pmc
19:06 ToApolytoXaos package RPerl::Test::Fu;
19:06 ToApolytoXaos use strict;
19:06 ToApolytoXaos use warnings;
19:06 ToApolytoXaos use RPerl;
19:06 willthechill okay great!
19:06 willthechill *PHEW*
19:06 ToApolytoXaos lol
19:06 willthechill it works!!!
19:06 ToApolytoXaos time for make test now? :D
19:06 willthechill no need for make test
19:06 ToApolytoXaos brilliant
19:07 willthechill if you did it once in ~/GIT_CODE/rperl and it worked, then you don't need to do it again until system code is changed
19:07 willthechill so now you are fully installed!
19:07 ToApolytoXaos ok
19:07 ToApolytoXaos that's awesome :D
19:07 willthechill you may change the Fu.pm to any other input file
19:07 willthechill the output will be incomplete, HOWEVER the parser is 100% done!
19:07 willthechill so you can start writing RPerl apps
19:07 willthechill and it will tell you if it is a valid RPerl app or not through the 3-phase parser
19:08 willthechill (called phase 0, phase 1, phase 2)
19:08 willthechill the reason I was confused today is because I am so used to running the code as a developer off of my latest github repo codebase, I kinda forgot about the whole `make install` process, haha!
19:08 willthechill sorry about that, totally my own fault  ;)
19:08 ToApolytoXaos i understand, no worries
19:09 ToApolytoXaos so to reiterate
19:09 ToApolytoXaos the RPerl is going to be used to reimplement Perl for faster performance?
19:11 willthechill haha yes of course, much faster
19:11 willthechill but reimplementing Perl 5 core will take a decade
19:11 willthechill RPerl will be used for writing super-fast RPerl apps immediately
19:12 willthechill no need to wait for reimplementing Perl 5 core system code, people can start using RPerl for apps now
19:12 willthechill since the parser is done, apps can be written
19:12 willthechill not fully compiled yet!  but written.  :)
19:13 ToApolytoXaos how to write apps? the good ol' Perl way or with a new syntax, more strict?
19:13 willthechill the "old Perl way" (high magic) is not "good", haha!
19:14 willthechill so yes, we use low-magic syntax
19:14 willthechill https://github.com/wbraswell/rperl/blob/master/lib/RPerl/Algorithm/Sort/Bubble.pm
19:14 willthechill bubble sort is our best RPerl app code example
19:14 willthechill read that Bubble.pm code to see how to write RPerl apps
19:14 willthechill go ahead and run the Bubble.pm through the rperl command now that you have it properly installed
19:14 willthechill it should parse without any errors
19:15 willthechill then you can start learning how to write your own RPerl app code, and run it through the 3-phase parser
19:15 willthechill you will learn as each pass of the parser runs
19:15 ToApolytoXaos lol, as if i know how to write standard Perl
19:16 willthechill that's GOOD!
19:16 willthechill you DON'T want to write standard Perl!
19:16 willthechill "standard Perl" == "high-magic Perl" == "slow, buggy, unmaintanable Perl"
19:16 ToApolytoXaos it would be more than awesome to support web frameworks as well
19:16 willthechill yes my company already supports Catalyst and Shiny-on-Catalyst, so we will work toward getting parts of Catalyst compiled in RPerl soon
19:17 willthechill I happen to be friends with the Catalyst leads
19:17 willthechill :)
19:17 willthechill I'm going to step away from the computer for a while, not sure how long...
19:17 willthechill next conversation, we can talk about "BUG BOUNTY" if you like
19:18 ToApolytoXaos sure thing
19:18 willthechill good job my friend!
19:18 willthechill *away*
19:18 ToApolytoXaos my pleasure

| Channels | #perl11 index | Today | | Search | Google Search | Plain-Text | summary