Giter Club home page Giter Club logo

pascaladt's Introduction

PascalAdt is a library of data structures and algorithms for Free Pascal inspired by the C++ STL library.

Features

  • STL-like class hierarchies of containers, iterators and functors.
  • Automatic memory management for iterators.
  • Dynamic array containers.
  • Linked lists: singly linked, doubly linked and xor linked lists.
  • Double-ended queues: circular and segmented.
  • Search trees: AVL trees, splay trees, 2-3-trees.
  • Hash tables: open and closed.
  • Priority queues: binomial heaps.
  • Sorting algorithms: quick sort, merge sort, shell sort, insertion sort.
  • Selection algorithms: Hoare, Blum-Floyd-Pratt-Rivest-Tarjan.
  • String algorithms: Knuth-Morris-Pratt, Boyer-Moore, Karp-Miller-Rosenberg.
  • Sequence algorithms: binary search, interpolation seach, partition, merge, random shuffle, etc.

Requirements

  • Free Pascal.
  • Linux (should work on other systems, but the installation and compilation scripts might need adjusting).
  • C compiler to compile the MCP macro processor.

Installation and usage

  • Compilation: make
  • Tests: make test
  • Installation: make install
  • Demo compilation: make demo

Documentation

PascalAdt documentation is available at the PascalAdt webpage. It includes a tutorial and the API documentation auto-generated from sources with the SrcDoc program.

See also docsrc/tutorial.txt and demo/customer/customer.pas.

Copyright and license

Copyright (C) 2004-2021 Lukasz Czajka

Distributed under LGPL 2.1. See LICENSE.

pascaladt's People

Contributors

lukaszcz avatar

Stargazers

 avatar

Watchers

 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.