eLunate
|
  |
| Joined: 29 Jul 2014 |
| Total Posts: 13268 |
|
|
| 02 Jul 2016 05:44 PM |
Oh boy there's a point when I would really love to do these regularly but I mostly just run out of content and I'm also incredibly busy working on Valkyrie and Drako. Grammars are nasty things. Nasty nasty things.
The pairs function makes a new version of next every time you call it. It's bad. Using pairs should be an outlawed practice unless readability demands it.
You can stop your game from having any lag by deleting everything in ReplicatedStorage, Lighting, Workspace, StarterGui, ReplicatedFirst and StarterPlayer* You're welcome.
Sayhisam1 has been working on a game where all of the map is handled client-side. https://www.roblox.com/games/361448527/Bloxi-Dash-Dev-Test-Site-1-1-7
Autocarrot has been writing horrible code. https://www.roblox.com/games/2663325/CTF-Sword-Champions-BETA
DustAuric has been learning FilteringEnabled. https://www.roblox.com/games/344452224/Abilities-testing
I've been writing Drako again and for the life of me this is not working out well. Does anybody know of a good way to parse a grammar into an easily parsable datastructure with scoping without having to resort to using an iterative parser with a lexer because I really don't want to have to do that.
Challenge #16: Write your own gmatch function. cnt you're exempt from this one.
That will be all. Maybe some time I'll get you some updates on what's actually happening with the Valkyrie site and funding and stuff. |
|
|
| Report Abuse |
|
|
Kodran
|
  |
| Joined: 15 Aug 2013 |
| Total Posts: 5330 |
|
| |
|
|
| 02 Jul 2016 05:52 PM |
Thanks for the mention, not too sure if "Dust"Auric was intentional, but I'm cool with that. Have you tried out the place itself; any thought/feedback? (I'm needing to improve things.)
-=[ RAP: 336,399 || DurstAuric; the narb of ROBLOX ]=- |
|
|
| Report Abuse |
|
|
|
| 02 Jul 2016 05:54 PM |
| Nice Durst, I'll be sure to check it out. |
|
|
| Report Abuse |
|
|
|
| 02 Jul 2016 06:08 PM |
function custom_gmatch(str, pattern) local i = 1 return function() local start,fin = str:find(pattern, i) if start then i = fin+1 return str:sub(start, fin) end return nil end end |
|
|
| Report Abuse |
|
|
HexC3D
|
  |
| Joined: 30 Jun 2012 |
| Total Posts: 10044 |
|
|
| 02 Jul 2016 06:08 PM |
Reminds me of "where are they now" thing.
Criticizing people has always been apart scripters custom. Glad to see somethings haven't changed.
|
|
|
| Report Abuse |
|
|
eLunate
|
  |
| Joined: 29 Jul 2014 |
| Total Posts: 13268 |
|
|
| 02 Jul 2016 08:59 PM |
Drako is something you may possibly have seen being mentioned by myself and Gskw occasionally.
When I get bored and I have nothing to do* I write the spec and grammar for Drako, which is supposed to be a language with C-style syntax rather than Lua/Ruby-style (Lua) or Python/Ruby-style (Moonscript). It's supposed to transpile into Lua, have strong typing, encourage good standards, and optimise your code into an unreadable mess. |
|
|
| Report Abuse |
|
|
|
| 02 Jul 2016 09:07 PM |
Wars yours doesn't handle captures
Lunate is too lazy to commit stuff she's changed about drako to github report her!11 |
|
|
| Report Abuse |
|
|
eLunate
|
  |
| Joined: 29 Jul 2014 |
| Total Posts: 13268 |
|
|
| 03 Jul 2016 05:53 AM |
| Hey it would be completely unfair on both git and github given how many times I've nuked what I have to just try again. |
|
|
| Report Abuse |
|
|
MiniNob
|
  |
| Joined: 14 May 2013 |
| Total Posts: 822 |
|
|
| 03 Jul 2016 06:40 AM |
| Making an iterative lexer is actually not hard. |
|
|
| Report Abuse |
|
|
eLunate
|
  |
| Joined: 29 Jul 2014 |
| Total Posts: 13268 |
|
|
| 03 Jul 2016 06:49 AM |
| Yes but as the language becomes a lot more complex there's a lot of looking ahead involved so instead I want to instead convert the stuff into a nested datastructure with an LPEG grammar instead of lexing it linearly and going through it linearly. |
|
|
| Report Abuse |
|
|
MiniNob
|
  |
| Joined: 14 May 2013 |
| Total Posts: 822 |
|
|
| 03 Jul 2016 07:06 AM |
| You don't need to look ahead, you can just iterate multiple times |
|
|
| Report Abuse |
|
|
eLunate
|
  |
| Joined: 29 Jul 2014 |
| Total Posts: 13268 |
|
| |
|
|
| 03 Jul 2016 07:31 AM |
| Yeah let's just do 100 passes!11 |
|
|
| Report Abuse |
|
|
MiniNob
|
  |
| Joined: 14 May 2013 |
| Total Posts: 822 |
|
|
| 03 Jul 2016 07:37 AM |
| Actually two passes is enough for parsing most grammars |
|
|
| Report Abuse |
|
|
|
| 03 Jul 2016 07:38 AM |
| I know, but that's not the point. She keeps redesigning the language afaik so it would make no sense to even start it. |
|
|
| Report Abuse |
|
|
|
| 03 Jul 2016 10:59 AM |
'so instead I want to instead'
Gj eLunate xD |
|
|
| Report Abuse |
|
|
eLunate
|
  |
| Joined: 29 Jul 2014 |
| Total Posts: 13268 |
|
|
| 03 Jul 2016 12:33 PM |
| Maybe I'll make the language solid enough to actually go somewhere with the grammar. |
|
|
| Report Abuse |
|
|
eLunate
|
  |
| Joined: 29 Jul 2014 |
| Total Posts: 13268 |
|
| |
|
|
| 03 Jul 2016 03:54 PM |
Most of the sever side frame work (Where the horrible work) wasn't written by me. I did the client sided stuff (Which is mostly broken). The other scripter, ThePC8110 is atrocious though
WolfgangVonPrinz // Private Drive - Residents Only |
|
|
| Report Abuse |
|
|
ThePC8110
|
  |
| Joined: 04 Jun 2011 |
| Total Posts: 486 |
|
|
| 03 Jul 2016 04:00 PM |
| Yeah I'm probably the worst scripter on Roblox. |
|
|
| Report Abuse |
|
|
|
| 03 Jul 2016 04:00 PM |
(He's actually way better than me, but I like to slag him off to make me feel better about my lack of size)
WolfgangVonPrinz // Private Drive - Residents Only |
|
|
| Report Abuse |
|
|
eLunate
|
  |
| Joined: 29 Jul 2014 |
| Total Posts: 13268 |
|
|
| 03 Jul 2016 04:39 PM |
| I raised an eyebrow at that. |
|
|
| Report Abuse |
|
|
eLunate
|
  |
| Joined: 29 Jul 2014 |
| Total Posts: 13268 |
|
| |
|
eLunate
|
  |
| Joined: 29 Jul 2014 |
| Total Posts: 13268 |
|
| |
|