Skip to content

Latest commit

 

History

History
73 lines (51 loc) · 3.05 KB

TODO.md

File metadata and controls

73 lines (51 loc) · 3.05 KB

alt text

PyLists4C: Python-style lists for the C language

Generic needs

For future releases

  • listReadlines() / listWritelines()

    • Loading or writing a LIST of STRINGs from/to an ASCII text file, line by line
  • listRange():

  • listFromFile() / listToFile()

    • Initializing a LIST from/to an ASCII text file, list() like
  • STRUCT elements documentation: provide an example and a test program

  • src/list.c

    • STRUCTs declaration
      • Declared in list() with braces. For example: (subtype, int:x, int:y)
  • listRegister():

    • Providing a way to register the handling functions (see the ones for STRUCTs) for new data types, in order to avoid circular dependencies between libraries

Maybe?

  • listJoinChars()

    • Join adjacent char elements into a single STRING element
  • listJoinStrings()

    • Join adjacent STRING elements into a single STRING element
  • list{Contains, Count, Index, IndexAll}Values()

    • "Regardless of ETYPE" comparison
  • listSortedByMerge()

  • Other sorting algorithms?

  • Tree data structures functions

    • Which ones?
  • Extension of ctypes library to the exchange of lists

  • Support for C language extensions for Python using lists?

  • ARRAY elements support

    • Declared in list() with angle-brackets. For example: <int:1, 2, 3> (only the first element will need a type indicator if it's not supposed to be a long)

Possible other projects

  • DICT elements

    • pydicts4c library!
      • Declared with curly braces. For example: {'key1': value1, 'key2': value2}
  • STRINGS elements?

  • ARRAY library?