shandan97's Profile User Rating: -----

Reputation: 0 Apprentice
Group:
New Members
Active Posts:
6 (0.01 per day)
Joined:
23-December 12
Profile Views:
170
Last Active:
User is offline Dec 24 2012 10:19 AM
Currently:
Offline

Previous Fields

Country:
Who Cares
OS Preference:
Who Cares
Favorite Browser:
Who Cares
Favorite Processor:
Who Cares
Favorite Gaming Platform:
Who Cares
Your Car:
Who Cares
Dream Kudos:
0

Latest Visitors

Icon   shandan97 has not set their status

Posts I've Made

  1. In Topic: problem with Lex.

    Posted 24 Dec 2012

    View Postsepp2k, on 24 December 2012 - 10:02 AM, said:

    View Postshandan97, on 24 December 2012 - 03:36 AM, said:

    But I don't really get where they are getting all the code from.


    Can you explain what you mean by that exactly? Where who is getting which code from?

    Quote

    Also, by Grammar, they mean the Syntax of the programming language correct?


    Yes, a grammar is a description of the syntax of a programming language.

    View Postshandan97, on 24 December 2012 - 03:57 PM, said:

    Ah, glad to see you seen this! And I see, I have ANTLR, does that work? And I'll look at YACC.


    If you don't have to use Lex, ANTLR is a perfectly fine option. In fact I'd say it's preferable to lex+yacc / flex+bison.


    Well, I've looked at multiple examples of programming language grammar, but I don't really get it. I think what I really need explained is what a lex token is and what they do. That's what I'm having the most issues with. And I'm probably going to try YACC and see what that is like, thanks for the suggestion.
  2. In Topic: problem with Lex.

    Posted 24 Dec 2012

    View Postjon.kiparsky, on 24 December 2012 - 08:12 AM, said:

    So what's the hook? What's the elevator speech on your language?


    For now, I'm just looking to tinker around with it. I'll probably get more serious about it as I learn and get better.
  3. In Topic: problem with Lex.

    Posted 24 Dec 2012

    View Postsepp2k, on 24 December 2012 - 02:40 AM, said:

    If you're using Lex (or a compatible implementation like flex), you should use YACC (or a compatible implementation like bison) as your parser generator. The other two come with their own lexers and won't be useful for working with Lex (hell, javacc doesn't even generate C code).


    Also, I thought, I'd just might add, that I'm going to be keeping a blog on my experiences of creating a programming language, so if you're any interested you might wanna check it out!
  4. In Topic: problem with Lex.

    Posted 24 Dec 2012

    View Postsepp2k, on 24 December 2012 - 02:40 AM, said:

    If you're using Lex (or a compatible implementation like flex), you should use YACC (or a compatible implementation like bison) as your parser generator. The other two come with their own lexers and won't be useful for working with Lex (hell, javacc doesn't even generate C code).


    Ah, glad to see you seen this! And I see, I have ANTLR, does that work? And I'll look at YACC. I've been reading on EBNF, and I'm not quite understanding some of it.
    If you don't mind, I have some questions, you can contact me at <Removed>, you'll probably get the quickest replies out of me that way. Either way is fine with me. I just need some questions answered for me to fully understand this.

    Thanks!

    Shandan

My Information

Member Title:
New D.I.C Head
Age:
Age Unknown
Birthday:
Birthday Unknown
Gender:
Full Name:
Shandan Spencer
Programming Languages:
Java, some Flex, little C++ and VB.NET

Contact Information

E-mail:
Click here to e-mail me

Friends

shandan97 hasn't added any friends yet.

Comments

shandan97 has no profile comments yet. Why not say hello?