string library in kolibri

Post here questions, problems and suggestions in English language
  • The string lib is not implented yet, and i'm not sure if we actually need one..

    please, read the section 'string operations' in the flat assembler's user manual:
    http://flatassembler.net/docs.php?article=manual#2.1.8

    I hope this helps you :)

    PS: the code you showed is very fast and small, i dont see a problem with it :)
    "Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction." Albert Einstein
  • hidnplayr wrote:The string lib is not implented yet, and i'm not sure if we actually need one..

    please, read the section 'string operations' in the flat assembler's user manual:
    http://flatassembler.net/docs.php?article=manual#2.1.8

    I hope this helps you :)

    PS: the code you showed is very fast and small, i dont see a problem with it :)
    Ok. For example i need to parse something like this:
    --loaddrv=USB -v --config="config.ini"

    I really don't how i can parse this string without strcmp, strstr, strlen, strsep functions. I think only for parse options i must write near 100 lines (maybe more). This functions really simplify life :)
  • feel free to make such a library then ;)

    Or maybe we can port something like FasmLIB http://fasmlib.x86asm.net/
    (I would probably still parse it by hand anyway :p)
    "Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction." Albert Einstein
  • hidnplayr wrote:feel free to make such a library then ;)

    Or maybe we can port something like FasmLIB http://fasmlib.x86asm.net/
    FasmLib is cool. I think it really can increase speed of development. But it is huge. Now i am porting string.h/string.c from linux sources - it is that i really need now. I'll be happy to port FasmLib if someone help me because it is really big.
  • Who is online

    Users browsing this forum: No registered users and 36 guests