+ Reply to Thread
Page 2 of 31 FirstFirst 123412 ... LastLast
Results 11 to 20 of 308

Thread: Expression Gate

  1. #11
    Expressionism 2.0 Syranide's Avatar
    Join Date
    Mar 2007
    Location
    Sweden
    Posts
    4,573

    Default

    When do you figure it will be released?[/b]
    Everything regarding parsing and such is now done, finished about an hour ago, although the code isn't very neat at all and can probably be improved in many areas, but the mechanics for it is done as far as goes for a beta at least (it doesn't handle errors very well yet etc).

    I've just started looking at how to integrate it with the game (currently doing it myself as I like to fiddle around with everything and learn ), so once that is done you should see a beta for download here. I'll report progress here later.

    Although I still wonder what it should be called.

  2. #12
    That furred thing Black Phoenix's Avatar
    Join Date
    Feb 2007
    Location
    Kyiv, Ukraine
    Posts
    3,565

    Default

    Heh, I'm going to write expression evaluator, but different way: it will parse string and generate machine code, so you can launch this later.

    Awesome project, good luck with it.
    I'm a wire-crazy person with a tail.

    Take a daily journey into my brain

    D2K5

  3. #13
    Wirererer greenarrow's Avatar
    Join Date
    Mar 2007
    Location
    UK
    Posts
    196

    Default

    That's correct, basically this adds nothing more than what is already possible. So this is NOT the circuit board discussed in other topics, although it is rougly the same idea (I think) this one is all mathematical. So, all this can do is calculate expressions, such as "OA = B + C" and handle simple conditionals.

    So it does NOT add any new possibilities as everything this can do could previously be done by a pletora of gates (with a small difference, but that's the main idea), with two main ideas, reduce lag and simplify wiring of gates (as instead of wiring different operators to form expressions, you can now just type the expression instead). And then I extended it a little, introduced "if-statements" and allowed multiple out-ports and arbitrary variables (internally), so you can write many expressions for one component (ANG = A / C ... OB = ANG * 2 ... OD = rad2deg(ANG)).

    And yes, the CPU can do exactly what this can do and much more, but this offers much more simplicity when there is only need for calculations (and many will likely never learn to use the CPU).

    TAD2020, I'm not sure if this is what you thought of or if you though of something else, but please explain what your idea/thought was if possible.[/b]
    This and the CPU are quite different, the CPU is a model of a CPU, whereas this is more like a model of a programmable logic device like an FPGA. The two should be usefull together, as the CPU could be used to control the expression evaluator and get it to do complex exations leaving the CPU free to do other stuff.
    -----------------------------------------------
    gmod addon reviews:
    http://gmodreviews.googlepages.com/

  4. #14
    That furred thing Black Phoenix's Avatar
    Join Date
    Feb 2007
    Location
    Kyiv, Ukraine
    Posts
    3,565

    Default

    Agree, CPU is for tasks you need to have some exact order of operations, and for complex tasks.

    This is great, it can be used to change all those hard math stuffs into 1 chip, no need to write any more programs
    I'm a wire-crazy person with a tail.

    Take a daily journey into my brain

    D2K5

  5. #15
    Administrator Tad2020's Avatar
    Join Date
    Feb 2007
    Location
    California, USA
    Posts
    1,498

    Default

    It seems like it would be possible to parse a wired circuit into this programmable chip.
    "Our death ray doesn't seem to be working. I'm standing right in it, and I'm not dead yet." - Jamie Hyneman
    "Yes, managing the anonymous activity of the entire Internet is a challenge. Shoving the entire universe into a mason jar for use as a personal flashlight would also be a pesky bother." - Karl, BBR

    WIREMOD WILL NOT WORK ON YOUR FACE! BUT IT DOES ON YOUR MOM :shifty:

  6. #16
    Expressionism 2.0 Syranide's Avatar
    Join Date
    Mar 2007
    Location
    Sweden
    Posts
    4,573

    Default

    It seems like it would be possible to parse a wired circuit into this programmable chip.[/b]
    That should very much be possible I presume, as it provides identical functionality (except no memories and such), only thing that would be problematic is circular wiring... but that gives bogus results either way I think?

    Anyway, I've made some progress and it now properly parses the strings from within the game, although the chip itself does not currently work. But it's a step in the right direction

  7. #17
    Wirererer XeonXT's Avatar
    Join Date
    Mar 2007
    Posts
    199

    Default

    I love you
    "As far as I can remember, Garry has always had this pissy, elitist attitude towards others. "I'm better than you all." That's his philosophy. And that's why he's hated. If he had been nice and respectful in the first place, he wouldn't have a bunch of pissed-off enemies biting at his ass every chance they get."

  8. #18
    Expressionism 2.0 Syranide's Avatar
    Join Date
    Mar 2007
    Location
    Sweden
    Posts
    4,573

    Default

    I love you [/b]
    Marry me pretty please, plzplzplzplzplz

    Just got my first breakthrough and the first calculation has been made using the component. Although it just barely works at the moment.
    And I have got this rather strange problem, where the ghost model is the "AMD64" but when placed becomed "mini-chip" as specified...
    (I "borrowed" most of the STOOL code from the CPU so that's probably why, but still can't find why it won't change, but that's a later problem)
    I will try to make the component automatically figure out which inports and outports there should be instead of having fixed, or allowing them to specified instead. But I added right-click to load the expressions from the component too, although it is extremely slow for some reason, must be some faster way to get vars from the server.

    EDIT: a peculiar feature worth knowing is that "a" == "A" (false) ... but "a" >= "A" && "a" <= "A" (true) ... which caused a lot of confusion in my code for a short while since Lua doesn&#39;t work that way out of the box.

  9. #19
    Wirererer XeonXT's Avatar
    Join Date
    Mar 2007
    Posts
    199

    Default

    I simply cannot wait. I hope you can get it hammered out by this weekend when I will run my server with the new spacebuild map, new advanced dupe, and hopefully this. It&#39;s going to be a good weekend
    "As far as I can remember, Garry has always had this pissy, elitist attitude towards others. "I&#39;m better than you all." That&#39;s his philosophy. And that&#39;s why he&#39;s hated. If he had been nice and respectful in the first place, he wouldn&#39;t have a bunch of pissed-off enemies biting at his ass every chance they get."

  10. #20
    Expressionism 2.0 Syranide's Avatar
    Join Date
    Mar 2007
    Location
    Sweden
    Posts
    4,573

    Default

    A beta is now available for download and I&#39;ve given a brief introduction of how to use it.

+ Reply to Thread
Page 2 of 31 FirstFirst 123412 ... LastLast

Similar Threads

  1. Expression Gate : Can't save expression
    By m0nday in forum Bug Reports
    Replies: 2
    Last Post: 08-06-2008, 12:29 PM
  2. Expression Gate help
    By Unsavory in forum Installation and Malfunctions Support
    Replies: 3
    Last Post: 06-10-2007, 05:25 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
proceed-collector
proceed-collector
proceed-collector
proceed-collector
linguistic-parrots
linguistic-parrots
linguistic-parrots
linguistic-parrots