User Profile

Collapse

Profile Sidebar

Collapse
dark100
dark100
Last Activity: Aug 31 '08, 07:53 AM
Joined: Oct 10 '06
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • dark100
    replied to about gmac script language
    Hi!

    I made some performance optimizations in gmac. Now, the local variable references are stored in an array, so they can be accessed very fast, and some functions are changed to inline. Those changes greatly improve the md5 calculation benhmark (down to 101 msec from 126 msec), and slightly improve the recursive benchmark (5 min 43 sec from 5 min 59 sec).

    Do you have any general ideas (experiences) which makes interpreted,...
    See more | Go to post

    Leave a comment:


  • dark100
    replied to about gmac script language
    Dynamic binding. I agree, dynamic binding is far more fun :)

    That means this code is ok:
    Code:
    [;
      func = sub() {
        func2()
      }
    
      func2 = sub() {
      }
    
      func()
    ]
    Well, gmac is focuses on stream parsing, which usually not involves deep recursion. Instead, many string fragments are passed through a pipeline (with in and out operators)....
    See more | Go to post

    Leave a comment:


  • dark100
    replied to about gmac script language
    Hi Jos!

    That page is interesting! I haven't heard about it before.

    The results for N = 11 (user time):

    C: 0m1.508s - 1,5 sec (using the implementation provided by that site)
    GMAC: 5m59.182s - 359.182 sec -> 239.3 times slower

    2.36 * 239.3 --> probably 564.82 sec on their measurement system.

    The speed is around the other interpreted languages. I plan speed optimizations...
    See more | Go to post

    Leave a comment:


  • dark100
    replied to Other Language
    Delphi has its own beauty, the Borland IDE is simple and easy to use, its object model is great (Java = Delphi object model + C syntax), and has a nice built in support for binary sets. But its other language constructs are ugly, especially the begin-end pairs, character, pointer handling, and logical expressions (you need to use many parenthesis, since there is no difference between logical and binary "and", "or" and "xor"...
    See more | Go to post

    Leave a comment:


  • dark100
    replied to about gmac script language
    Perhaps google don't think much about this project :) I must admit, although this project is two years old, it has not gained too much attention so far.

    - interaction: There is no interaction now. But that is a very good idea! Well, I don't know about other languages internal working, but with a little help, I think I can implement some nice things.

    - speed: I think it is two times slower than the mentioned JavaScriptCore...
    See more | Go to post

    Leave a comment:


  • dark100
    replied to about gmac script language
    Thank you for your encouragement! This is the third major revision of this project (I don't like the syntax of the first one, the second one was too slow. This version is partially inspired by the JavaScriptCore subproject of Apple's WebKit)

    It was strange this link was not work:
    http://sourceforge.net/project/showfiles.php?g roup_id=160876

    This is an outdated old site of this project, but the "download"...
    See more | Go to post

    Leave a comment:


  • dark100
    started a topic about gmac script language

    about gmac script language

    Hi All!

    I have been developing an embedded macro script language (called gmac) for some time, and I would like to ask your opinion about it.

    Here is a quote from the introduction part (in the readme):

    Gmac is more like an embedded script language (like JavaScript), than a
    common macro preprocessor. You can execute small scripts enclosed in '[;'
    and ']'. These scripts are executed by...
    See more | Go to post

  • dark100
    started a topic New preprocessor: gmac

    New preprocessor: gmac

    Hi All !

    I have started to develop a general preprocessor called gmac. You can use it for generating context sensitive configurations, static html pages with dynamic elements, ... Something like m4 or C preprocessor, but it is much more advanced (supports arrays, hash tables, file processing, calculations, regular expressions)

    You can download it form (Win and Linux executable, src, doc): http://sourceforge.net/project/showfiles.php?g roup_id=160876...
    See more | Go to post
No activity results to display
Show More
Working...