Results 1 to 5 of 5

Thread: Make a programming language?

  1. #1

    Thread Starter
    New Member
    Join Date
    Oct 2000
    Posts
    5

    Question

    Hi.

    I'm wondering if there is anyone who knows how to do the following things:

    Count the number of a certain char in a string

    Parse a string into tokens

    Compile an exe

    In short, make a compilable app... is it possible? I really wanna do it...

    Thanx
    Jonno Manning

    The Lurker from The Deep

  2. #2
    Guest

    Cool Yeap am doing that at the moment

    Have a requirement for a real cut down version of basic as a teaching add, (where users get their ideas amazes me).Basically doing it in "C" with a couple of other guys. You need to ascertain what commands/modifiers/etc are allowed, then determine an exceptable syntax, design an IDE for it, and on the compile option translate the code into...in our case it's "C" but you may want vb or whatever...then run the compiler. Also you need to incorporate a linker to ensure all libraries that are needed by the exe are included.

    Phantomd is currently working on a language for bar-code printers which is extremely complex, but will by-pass any number of problems we are currently facing....

    So yes have a go

    As to number of incidents of a character in a string...which version of vb are you using?

  3. #3

    Thread Starter
    New Member
    Join Date
    Oct 2000
    Posts
    5
    Thanx, is there any code I can get? Anything in the API? What a really need is to parse a string by spaces (" ").

    Jon

    Ps I am using vb6
    Jonno Manning

    The Lurker from The Deep

  4. #4
    Guest
    Parsing a string is not the problem. What you do afterwards is the problem.

    I have a set of tools to handle delimited strings. If you want, you can e-mail me and I'll send them to you.


    DerFarm


    [email protected]

  5. #5

    Thread Starter
    New Member
    Join Date
    Oct 2000
    Posts
    5

    Lightbulb

    Thanks so far, now is it possible to compile an app? How is it done ? OR I could compile a text file to take up less space, and yet still be able to read it. Maybe its possible to change all keywords into hex strings (#0F, etc). Any ideas?
    Jonno Manning

    The Lurker from The Deep

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width