These are chat archives for rpgleparser/rpgleparser

1st
Apr 2015
Liam Allan
@WorksOfLiam
Apr 01 2015 21:06
Wow
Even better than email
David Gregory
@DavidGregory084
Apr 01 2015 21:07
Aye, first thing I thought was Slack as I use it at work
but this seems better integrated with GH
Liam Allan
@WorksOfLiam
Apr 01 2015 21:07
It was literally a one click login for me
Either way, been working on a thing in my own time.
A functional interpreter & parser for RPGLE - working too.
David Gregory
@DavidGregory084
Apr 01 2015 21:08
niiice
Liam Allan
@WorksOfLiam
Apr 01 2015 21:08
Having some odd problems with data structures but generally I think that's my interpreters fault
David Gregory
@DavidGregory084
Apr 01 2015 21:09
i have to say though; much as I have a place in my heart for RPG
why? :-P
Liam Allan
@WorksOfLiam
Apr 01 2015 21:09
Because I use it at my daily job :)
David Gregory
@DavidGregory084
Apr 01 2015 21:09
ahh
Liam Allan
@WorksOfLiam
Apr 01 2015 21:09
  • I love .NET
David Gregory
@DavidGregory084
Apr 01 2015 21:09
so you're effectively using it for REPL-based development?
is that the idea?
Liam Allan
@WorksOfLiam
Apr 01 2015 21:10
Give me a few minutes and I'll explain.. just got to find my companies website to show you..
Here we are. We right front-end applications using our in-house framework (http://www.renaissanceframework.com/) in RPG
David Gregory
@DavidGregory084
Apr 01 2015 21:12
so looks like you basically bunged a load of open-access handlers into some RPG programs?
we have something similar in WPF and C#
Liam Allan
@WorksOfLiam
Apr 01 2015 21:12
I can't stand the language at all to be fair, but I hate there is no free compiler.
And yes, between me and you: that free version of the framework on that site is a mess to be honest.
It's back end is not so bad, it's front end CGI stuff is quite messy..
that's the kind of crap we have as a frontend replacement
Liam Allan
@WorksOfLiam
Apr 01 2015 21:14
Looks like we're on the same path kind of then -_-
David Gregory
@DavidGregory084
Apr 01 2015 21:14
we have ~4 million lines of RPG so it was always going to be cost-effective to try making the 5250 programs easier to use
Liam Allan
@WorksOfLiam
Apr 01 2015 21:15
Ooh
Sounds like you have lots of fun..
David Gregory
@DavidGregory084
Apr 01 2015 21:15
new code is okay-ish
we take on lots of grads (I was one of them) and don't really teach them to write good code
Liam Allan
@WorksOfLiam
Apr 01 2015 21:16
The reason I wrote the interpreter is because I just wanted a Windows compiler for the language. There is always Visual RPG, but that's changed the syntax of RPG a fair amount. So I started writing this and it's come quite far.
David Gregory
@DavidGregory084
Apr 01 2015 21:16
but lots of it is real legacy late 80s early 90s stuff
Liam Allan
@WorksOfLiam
Apr 01 2015 21:16
I started with grads, but I'm 17
David Gregory
@DavidGregory084
Apr 01 2015 21:16
ah right
internship?
Liam Allan
@WorksOfLiam
Apr 01 2015 21:16
Nope, full time job
Hired and trained just like the grads
Pure luck, really
David Gregory
@DavidGregory084
Apr 01 2015 21:17
nice
Liam Allan
@WorksOfLiam
Apr 01 2015 21:17
Wish I hadn't sometimes
David Gregory
@DavidGregory084
Apr 01 2015 21:17
lol
Liam Allan
@WorksOfLiam
Apr 01 2015 21:17
Probably sound big headed but my company is quite bad in someways
David Gregory
@DavidGregory084
Apr 01 2015 21:17
i think any company that uses RPG will have culture issues
Liam Allan
@WorksOfLiam
Apr 01 2015 21:17
When we get a specification from the customer.. it's never detailed enough for the programmer - just the user
David Gregory
@DavidGregory084
Apr 01 2015 21:18
the whole language has a kind of embedded culture that hasn't caught up
i bought a book recently
modern display file programming in RPG
and i read it and was just like
i don't see any procedures, dude
how can you call this modern?
Liam Allan
@WorksOfLiam
Apr 01 2015 21:18
xD
It's not, even the new Dcl-S free format stuff is ugly..
David Gregory
@DavidGregory084
Apr 01 2015 21:19
yeah, i kind of don't mind the fixed P spec etc. stuff
it delineates procedure blocks more obviously
Liam Allan
@WorksOfLiam
Apr 01 2015 21:19
It's pretty nice, I prefer fixed definitions but I like free format syntax generally
I've been spending most of my time learning how the machine interface works
David Gregory
@DavidGregory084
Apr 01 2015 21:20
to be fair, i would have to say that if you get a spec from the customer and it doesn't have much detail in it, that means you can code it however you want
Liam Allan
@WorksOfLiam
Apr 01 2015 21:20
Yeah, we do. it's a bad thing though
David Gregory
@DavidGregory084
Apr 01 2015 21:20
as long as you have their functional requirements
Liam Allan
@WorksOfLiam
Apr 01 2015 21:20
That's practically it
Also
We have four grads, including me. We are the only 4 who use embed SQL, everyone else uses the F spec to declare fiesl
files*
It makes shared code a big mess
David Gregory
@DavidGregory084
Apr 01 2015 21:22
yeah
it's very hard to get people who are stuck in their ways out of their rut
i've found that in a very bad way at our place
we have kept up very well by and large
Liam Allan
@WorksOfLiam
Apr 01 2015 21:22
I take it you use RDI too?
David Gregory
@DavidGregory084
Apr 01 2015 21:22
yeah
it's horrible
i still use SEU for quick edits
we are getting some good RPGUnit coverage now as well
so it's getting a lot better at JHC mostly
Liam Allan
@WorksOfLiam
Apr 01 2015 21:23
Indeed it is. That's why I made a Java program to get+lock the source locally.. edit with a local editor - and then automatically re-upload (via FTP) and unlock again
David Gregory
@DavidGregory084
Apr 01 2015 21:23
sounds pretty cool
Liam Allan
@WorksOfLiam
Apr 01 2015 21:24
It's messy, but it's more responsive that RDI
David Gregory
@DavidGregory084
Apr 01 2015 21:24
which editor do you end up using?
Liam Allan
@WorksOfLiam
Apr 01 2015 21:24
Just n++
David Gregory
@DavidGregory084
Apr 01 2015 21:24
you know there's also RPGNextGen
Liam Allan
@WorksOfLiam
Apr 01 2015 21:24
Got a custom syntax
I never got that to work..
We use THENON
David Gregory
@DavidGregory084
Apr 01 2015 21:24
fucking awful
same here
Liam Allan
@WorksOfLiam
Apr 01 2015 21:24
And RPGNextGen didn't liek that
David Gregory
@DavidGregory084
Apr 01 2015 21:24
hmm, nah, shouldn't be a problem
Liam Allan
@WorksOfLiam
Apr 01 2015 21:24
THENON is shite.
David Gregory
@DavidGregory084
Apr 01 2015 21:24
i used it with thenon
Liam Allan
@WorksOfLiam
Apr 01 2015 21:24
Hmm,
David Gregory
@DavidGregory084
Apr 01 2015 21:24
just remember the CR library is O# plus the CR number
Liam Allan
@WorksOfLiam
Apr 01 2015 21:25
Maybe I'll give it another time
David Gregory
@DavidGregory084
Apr 01 2015 21:25
and you'll probably have to set up the library list to match your usual client access
session library list
Liam Allan
@WorksOfLiam
Apr 01 2015 21:25
Indeed
David Gregory
@DavidGregory084
Apr 01 2015 21:25
so there's a few things in there like OMSOBJ, OMSSAV, a load of crap like that
Liam Allan
@WorksOfLiam
Apr 01 2015 21:25
I'll get round to it when I have some spare time
David Gregory
@DavidGregory084
Apr 01 2015 21:25
my mate rob reckons thenon's alright
ever since he found out it's £500 quid a year
Liam Allan
@WorksOfLiam
Apr 01 2015 21:26
Eh, it does have it's advancedments.. but my company don't make the most of it.
what
Fuck paying that
David Gregory
@DavidGregory084
Apr 01 2015 21:26
lol
Liam Allan
@WorksOfLiam
Apr 01 2015 21:26
It's so shit
Fuck
Git is fucking free ffs
David Gregory
@DavidGregory084
Apr 01 2015 21:26
yeah
but remember
see/change is a delivery system too
Liam Allan
@WorksOfLiam
Apr 01 2015 21:27
Yeah
But my company don't use it
lol
Guess what we do?
David Gregory
@DavidGregory084
Apr 01 2015 21:27
(not that maven is expensive or owt)
i.e. also free
Liam Allan
@WorksOfLiam
Apr 01 2015 21:27
FTP to the clients machine, dumbest thing ever.
David Gregory
@DavidGregory084
Apr 01 2015 21:27
what's that?
dang
Liam Allan
@WorksOfLiam
Apr 01 2015 21:27
Literally spend hours sending programs over un-secure FTP
David Gregory
@DavidGregory084
Apr 01 2015 21:27
so you have thenon
and then you don't use the one thing that it actually does well?
Liam Allan
@WorksOfLiam
Apr 01 2015 21:28
Yep
My company won't listen to me because of my age
I get paid a good sum but they won't listen to feedback
David Gregory
@DavidGregory084
Apr 01 2015 21:29
you'll get used to that wherever you go
commercial considerations > practical considerations
always
Liam Allan
@WorksOfLiam
Apr 01 2015 21:29
I preferred free lancing
PHP7 is going to be great with static typing
David Gregory
@DavidGregory084
Apr 01 2015 21:29
ugh PHP
Liam Allan
@WorksOfLiam
Apr 01 2015 21:30
I've been so tempted to start a new language for the IBMi that compiles to MI
Would take such a long time
But I'd enjoy it
David Gregory
@DavidGregory084
Apr 01 2015 21:30
would be a huge waste of time too
Liam Allan
@WorksOfLiam
Apr 01 2015 21:30
Probably lol
David Gregory
@DavidGregory084
Apr 01 2015 21:30
the definite wins are in just using the i as a database
Liam Allan
@WorksOfLiam
Apr 01 2015 21:31
Yeah, which my interpreter can do :D
David Gregory
@DavidGregory084
Apr 01 2015 21:31
then eventually you can can it entirely once you've rewritten things in a sensible language
Liam Allan
@WorksOfLiam
Apr 01 2015 21:31
Right, need to make tea. I'll be back soon. Where are you based also?
David Gregory
@DavidGregory084
Apr 01 2015 21:32
Teesside
(work in Newcastle)
Liam Allan
@WorksOfLiam
Apr 01 2015 21:33
Familiar with CableMaster?
David Gregory
@DavidGregory084
Apr 01 2015 21:36
nope
Liam Allan
@WorksOfLiam
Apr 01 2015 21:36
Consider that a good thing
It's a messy telecoms system
Written in the 80s
Still used today as a backend system, where for example my framework could be the frontend
David Gregory
@DavidGregory084
Apr 01 2015 21:38
for some reason, the suggestion that there are horrible telecoms systems left in service from the 80s comes as no suprise to me
Liam Allan
@WorksOfLiam
Apr 01 2015 21:39
Right
Before I leave
Am I able to use your project as a parser for an interpreter?
David Gregory
@DavidGregory084
Apr 01 2015 21:40
i don't see why not
antlr is pretty quick
Liam Allan
@WorksOfLiam
Apr 01 2015 21:40
Awesome. I'll rewrite it for Java which will be better anyway
See you for now!
David Gregory
@DavidGregory084
Apr 01 2015 21:41
catch you later