Git Product home page Git Product logo

ce-algorithms's Introduction

CE Algorithms Package

This library aims to provide reusable and efficient data-structures and algorithms for C programmers on the TI-84+CE platform. To make life easier, these libraries also compile on PC platforms to make it easier to prototype your program on a platform with more advanced debugging tools.

This library is licensed under the terms of the LGPL v3 (or newer), with an added no-endorsement clause.

What's inside?

Currently provides implementations of singly-linked lists and red-black trees. A generic merge-sort implementation is provided for the linked-lists, and helper functions to use red-black trees as the backing structure for both ordered sets and ordered maps are provided.

Additionally, a SafeMalloc implementation is provided, in util.h which will display an error message and terminate that program if insufficient memory is available for a requested allocation. This is great for prototyping programs. We also package the standard cleanUp() routine from the CE Toolchain Examples.

Finally, debugConfig.h provides a dPrintf macro that disables debug printing in release builds, and cooperates with CEmu's debug console on 84+CE debug builds, as well as SZF and PDF string macros for portable formatting of size_t and ptrdiff_t variables.

See the header files for more documentation.

ce-algorithms's People

Contributors

elfprince13 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.