Results 1 to 2 of 2

Thread: Need some advice on a book

  1. #1

    Thread Starter
    Fanatic Member BenJones's Avatar
    Join Date
    Mar 2010
    Location
    Wales UK
    Posts
    814

    Need some advice on a book

    Hi I been programming in VB6 for many years last year I moved over to C# and then to lazarus but found my self coming back to VB.NET now, I herd that in .NET you can create your own language and compilers that I like the sound of and is something I really like to do. I know this because I used to make little interpters in vb6 in the good old days. anyway basically I am looking for info on making a .net lanuage. Not a huge one just a little toy anyway I looked around Google and found a book called "Build Your Own .NET Language & Compiler " I am just wondering has anyone here seen or herd about this book and is this a good place for me to start.

    if you guys think this book is any good for me I may order it for my birthday as it coming soon here a link to Amazon.

    http://www.amazon.co.uk/Build-Langua...6121764&sr=8-1

    Any info and links will be greatfull

    Thanks.

  2. #2
    Fanatic Member BlindSniper's Avatar
    Join Date
    Jan 2011
    Location
    South Africa
    Posts
    865

    Re: Need some advice on a book

    I think you should clarify what you are trying to do. I believe making a .net language will be easier to do than making a small language, because all you have to do is specify the syntax and there are tools to generate the IL and whatnot. You won't actually be compiling anything just as much as parsing your language and giving it to the IL generator. This can be done using C# and I'm fairly certain vb.net would work as well.

    If you want to create a language that compiles to machine code, a functional language is a good choice (F# for the .net framework) but in the end the language that you are most comfortable with is the best choice.

    Creating a code compiler is no small task and if this is for educational purposes then I suggest that you try it out and give it your best. If this is for a real life application then I suggest that you check the cost vs benefit for your problem.

    Useful CodeBank Entries of mine
    Expand Function
    Code Compiler
    Sudoku Solver
    HotKeyHandler Class

    Read this to get Effective help on VBForums
    Hitchhiker's Guide to Getting Help at VBF

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