Search:

Type: Posts; User: DTSCode

Search: Search took 0.00 seconds.

  1. Replies
    1
    Views
    584

    editing attribute values with libxml2?

    Hello everyone! I am sorry to bug you, but this site is my last hope. I have tried googling, so, reddit, irc, and various other forums. Anyways, I am writing a todo list app in c. It generates an...
  2. Replies
    1
    Views
    547

    need help with revised lexing algorithim

    so i rewrote my lexical analyzer so that its based off stroustrops calculator rather than using regex's. the only problem is trying to handle multi character operators like >>=, +=, and --. I can fix...
  3. Replies
    4
    Views
    663

    >why you had the else's in there in the first...

    >why you had the else's in there in the first place).
    yeah thats why

    im sorry i forgot to post what im inputting. im passing a file called hello.jd that contains


    import sysio;

    function...
  4. Replies
    4
    Views
    663

    I did that, but now the output is (STRING,...

    I did that, but now the output is
    (STRING, "Hello, world!", 0, -1)
    (KEYWORD, import, 0, -1)
    (IDENTIFIER, import, 0, -1)
    (STRING, "Hello, world!", 0, -1)
  5. Replies
    4
    Views
    663

    help with lexing algorithim

    so i am on the final step of writing my small lexer for a compiler, but i have ran into an issue. my code currently only checks for string literals and then cant find anything else. if someone could...
  6. thanks everyone for the help!

    thanks everyone for the help!
  7. sorry about the late reply. thanks for all of the...

    sorry about the late reply. thanks for all of the help! so how would i implement PushBack and PopFront?
  8. need help with first attempt at linked list

    hi everyone! i am writing a symbol table, and originally had it working as a std::vector<Token> (Token is my class to hold an entry in the symbol table) I realized that i was just going to be...
  9. Replies
    2
    Views
    682

    need help with reading in file

    so i have a c source file:


    #include <stdio.h>
    #include <stdlib.h>
    #include <string.h>
    #include <ctype.h>
    #include <regex.h>

    typedef struct
  10. Replies
    4
    Views
    1,585

    ah that makes sense. i was actually just testing...

    ah that makes sense. i was actually just testing the && to see if it would work and decided to not take it out, but i forgot that it will short circuit. regex.h is the c regex library. i would and...
  11. Replies
    4
    Views
    1,585

    need help with a lexer

    hey all! Im not new to forums in general, but i am to this one, so if im inadvertently breaking a rule please let me know. anyways i need help with some code im writing and cant figure it out. im...
Results 1 to 11 of 11