Pages: 1
  Print  
Author Topic: Das Newspost  (Read 5909 times)
Offline (Male) Josh @ Dreamland
Posted on: July 11, 2012, 12:10:16 AM

Prince of all Goldfish
Developer
Location: Pittsburgh, PA, USA
Joined: Feb 2008
Posts: 2955

View Profile Email
I'm beginning to realize I'm keeping you people in the dark about what's going on with my progress, aside from the ticker at the top that shows commits.
People ask me to put a number to things; I can't give a date, but I can tell you that I'm on the last section of my to-do list, as far as I know, and this is how it stands:

I am

650/8587

done with the last segment of the new parser.

That is

7.57%

.

I will update this newspost as that number changes.


Archive:
2012/07/12 11:18:19 - 566
2012/07/12 03:04:14 - 590
« Last Edit: July 13, 2012, 09:45:36 AM by Josh @ Dreamland » Logged
"That is the single most cryptic piece of code I have ever seen." -Master PobbleWobble
"I disapprove of what you say, but I will defend to the death your right to say it." -Evelyn Beatrice Hall, Friends of Voltaire
Offline (Unknown gender) TheExDeus
Reply #1 Posted on: July 11, 2012, 07:47:50 AM

Developer
Joined: Apr 2008
Posts: 1886

View Profile
And this 5.67% was done in how long? Hopefully it wont take the rest of the year, because ENIGMA needs to be cleaned up again. The .exe size it creates is very big (even when all of the extensions are turned off as well as sound and collision systems) and the extension system makefiles have problems with dependencies. For example, I created an extensions that I had to link with a lib, after that it works fine, but if I disable the extension (so I can't use the functions) I still need to supply the .dll the lib was for. So basically I now have 5 ENIGMA's for 5 different extensions so I can create 5 programs/games.
Logged
Offline (Male) Josh @ Dreamland
Reply #2 Posted on: July 11, 2012, 10:11:28 AM

Prince of all Goldfish
Developer
Location: Pittsburgh, PA, USA
Joined: Feb 2008
Posts: 2955

View Profile Email
I don't know how you find yourself in these messes.
Anyway, most of that five percent was done yesterday, but since that was the beginning of a large change set, that's probably a poor projection.
Logged
"That is the single most cryptic piece of code I have ever seen." -Master PobbleWobble
"I disapprove of what you say, but I will defend to the death your right to say it." -Evelyn Beatrice Hall, Friends of Voltaire
Offline (Unknown gender) TheExDeus
Reply #3 Posted on: July 11, 2012, 11:14:10 AM

Developer
Joined: Apr 2008
Posts: 1886

View Profile
Quote
I don't know how you find yourself in these messes.
Well usually the problems I face is what everyone faces. Its just that no one else seem to care while I am a perfectionist (sort of) and I want ENIGMA to be as good as possible. I, sadly, can only work on functions and no matter how hard I try I can't figure the bigger systems out (like the extension system, the makefiles, configuration files etc.). And the problems lie there. So you should take a few days in the future and just clean up ENIGMA, so it can output ready files (so no temp bull) and create as small and fast files possible. When I add -Os to some configs/makefiles it doesn't make any difference and that is why I can't do it.
« Last Edit: July 11, 2012, 11:16:07 AM by HaRRiKiRi » Logged
Offline (Male) Josh @ Dreamland
Reply #4 Posted on: July 11, 2012, 12:04:32 PM

Prince of all Goldfish
Developer
Location: Pittsburgh, PA, USA
Joined: Feb 2008
Posts: 2955

View Profile Email
Watch the console output. If you don't see -Os in it, then you didn't add it in the right place.

I don't recall leaving either system in a state in which disabling components failed. I recall marveling at how disabling the audio system in Windows cuts the size in quarters, and I have not modified that system since.

My biggest concern is getting JDI finished and hooked in. I could practically sing about all the things that will be in my power at that point. One of the first things I will be doing is removing references to instance_event_iterator, replacing it with a parameter that the compiler will insert. This affects the extension system in a big way, though I don't see it affecting the problem you seem to be reporting. I've never had issues enabling or disabling any system.
Logged
"That is the single most cryptic piece of code I have ever seen." -Master PobbleWobble
"I disapprove of what you say, but I will defend to the death your right to say it." -Evelyn Beatrice Hall, Friends of Voltaire
Offline (Male) Josh @ Dreamland
Reply #5 Posted on: July 12, 2012, 01:48:00 AM

Prince of all Goldfish
Developer
Location: Pittsburgh, PA, USA
Joined: Feb 2008
Posts: 2955

View Profile Email
Ended up spending most of the day on a backtracking spree. Spent it making sure 22,000 lines of C parsed correctly instead. As for the C++ set above, in actuality, 758 lines (8.8%) parse without serious error, and should parse without any error by tomorrow's end as a result of today's work, but we'll see.
Logged
"That is the single most cryptic piece of code I have ever seen." -Master PobbleWobble
"I disapprove of what you say, but I will defend to the death your right to say it." -Evelyn Beatrice Hall, Friends of Voltaire
Offline (Unknown gender) luiscubal
Reply #6 Posted on: July 12, 2012, 09:11:24 AM
Member
Joined: Jun 2009
Posts: 452

View Profile Email
So what are the main differences between this new parser and the previous ones?
Logged
Offline (Unknown gender) TheExDeus
Reply #7 Posted on: July 12, 2012, 10:07:29 AM

Developer
Joined: Apr 2008
Posts: 1886

View Profile
This apparently works.
Logged
Offline (Female) IsmAvatar
Reply #8 Posted on: July 12, 2012, 10:20:23 AM

LateralGM Developer
LGM Developer
Location: Pennsylvania/USA
Joined: Apr 2008
Posts: 886

View Profile Email
Supposedly this one won't break every time they release a new version of the kernel or mingw.
Logged
Offline (Male) Josh @ Dreamland
Reply #9 Posted on: July 12, 2012, 03:11:26 PM

Prince of all Goldfish
Developer
Location: Pittsburgh, PA, USA
Joined: Feb 2008
Posts: 2955

View Profile Email
It fixes the C++11 issues. Should be more extensible, too. As part of that, it can tell me the type of an expression much more adeptly, so translating entity.member is much less of a guess. This includes template instantiation, so map<string,int>::operator[] gives the correct type as well.
Logged
"That is the single most cryptic piece of code I have ever seen." -Master PobbleWobble
"I disapprove of what you say, but I will defend to the death your right to say it." -Evelyn Beatrice Hall, Friends of Voltaire
Offline (Unknown gender) luiscubal
Reply #10 Posted on: July 12, 2012, 07:22:16 PM
Member
Joined: Jun 2009
Posts: 452

View Profile Email
Ah. In what way is this related to the JustDefineIt project? Also, is this C++-only or does this include the EDL language extensions(or whatever you call them)?
Logged
Offline (Male) Josh @ Dreamland
Reply #11 Posted on: July 12, 2012, 08:34:17 PM

Prince of all Goldfish
Developer
Location: Pittsburgh, PA, USA
Joined: Feb 2008
Posts: 2955

View Profile Email
The C++ parser is called JustDefineIt. I have written its functions in such a way that ENIGMA will be able to reuse them--if one works, both work. ENIGMA will supply a custom lexer to JDI, which will account for missing tokens. For instance, begin and end will be mapped to { and }, <> will be lexed as an operator, and so on and so forth.
Logged
"That is the single most cryptic piece of code I have ever seen." -Master PobbleWobble
"I disapprove of what you say, but I will defend to the death your right to say it." -Evelyn Beatrice Hall, Friends of Voltaire
Offline (Male) Josh @ Dreamland
Reply #12 Posted on: July 12, 2012, 11:55:39 PM

Prince of all Goldfish
Developer
Location: Pittsburgh, PA, USA
Joined: Feb 2008
Posts: 2955

View Profile Email
Due to a heisenbug, I can't accurately report progress at the moment. I'm either at line 450 or 860. You see, commenting out a line that printed to stdout broke everything, probably due to RVO finally kicking in on the type I removed. Valgrind had nothing to say on the matter, which means I'm probably reading something invalidly, but within the bounds of another allocated block. I'll find it tomorrow, or just let it deal with itself.

Edit: I can't reproduce the strange effects; seems it was more of a Schrödinbug after all, as the solution to the issue on line 450 was the only issue for 200 lines. So that's a nice jump start.
« Last Edit: July 13, 2012, 10:24:51 AM by Josh @ Dreamland » Logged
"That is the single most cryptic piece of code I have ever seen." -Master PobbleWobble
"I disapprove of what you say, but I will defend to the death your right to say it." -Evelyn Beatrice Hall, Friends of Voltaire
Offline (Unknown gender) The 11th plague of Egypt
Reply #13 Posted on: October 17, 2012, 02:11:54 PM
Member
Joined: Dec 2009
Posts: 284

View Profile
Any news?
Logged
Offline (Male) Josh @ Dreamland
Reply #14 Posted on: October 17, 2012, 02:56:29 PM

Prince of all Goldfish
Developer
Location: Pittsburgh, PA, USA
Joined: Feb 2008
Posts: 2955

View Profile Email
Very little. I'm stuck with my college workload, and no one else is doing much. Actually, forthevin committed a pixel-perfect patch for the bbox collision system. I still have no idea what nbeer's issue is (haven't gotten around to it), and I have had essentially no time to work on integrating JDI into the EDL parser. So no movement there, really.
Logged
"That is the single most cryptic piece of code I have ever seen." -Master PobbleWobble
"I disapprove of what you say, but I will defend to the death your right to say it." -Evelyn Beatrice Hall, Friends of Voltaire
Pages: 1
  Print