{"id":19604137,"url":"https://github.com/zedthree/fortran-redblack","last_synced_at":"2026-02-18T14:33:19.014Z","repository":{"id":145381114,"uuid":"162889993","full_name":"ZedThree/Fortran-RedBlack","owner":"ZedThree","description":"Demos of Red-Black and Binary Search Trees in Fortran","archived":false,"fork":false,"pushed_at":"2018-12-23T17:26:24.000Z","size":27,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-18T00:53:52.325Z","etag":null,"topics":["data-structures","fortran","redblacktree","tree-structure"],"latest_commit_sha":null,"homepage":null,"language":"Fortran","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ZedThree.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-12-23T12:46:00.000Z","updated_at":"2019-11-19T13:14:59.000Z","dependencies_parsed_at":"2023-06-03T16:30:11.432Z","dependency_job_id":null,"html_url":"https://github.com/ZedThree/Fortran-RedBlack","commit_stats":{"total_commits":35,"total_committers":1,"mean_commits":35.0,"dds":0.0,"last_synced_commit":"08482c9d3ed050394d4d3e2542aaa6e542cbd008"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZedThree%2FFortran-RedBlack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZedThree%2FFortran-RedBlack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZedThree%2FFortran-RedBlack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZedThree%2FFortran-RedBlack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ZedThree","download_url":"https://codeload.github.com/ZedThree/Fortran-RedBlack/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240887292,"owners_count":19873533,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["data-structures","fortran","redblacktree","tree-structure"],"created_at":"2024-11-11T09:34:58.710Z","updated_at":"2025-10-09T20:22:36.308Z","avatar_url":"https://github.com/ZedThree.png","language":"Fortran","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Red-Black and Binary Search Trees in Fortran\n\nThis repo contains two modules with implementations of red-black and\nbinary search trees. I wrote them purely as a learning exercise and\nnot for actual use, so they only store integers. For an actually\nuseful associative container, they would need to store key-value\npairs.\n\n## Examples\n\nUse of either type of tree goes as follows:\n\n    use binary_tree\n    implicit none\n\n    type(binary_tree_t) :: tree\n\n    call tree%add(4)\n    call tree%add(5)\n    call tree%add(3)\n\n    print*, tree%values()\n\n## Tests\n\npFUnit is bundled as a submodule. You may need to run the following\ncommand to get it:\n\n    git submodule update --init --recursive\n\nThen build it like:\n\n    mkdir externals/build_pfunit\n    cd externals/build_pfunit\n    cmake ../pFUnit/ -DMPI=NO -DOPENMP=NO \\\n      -DCMAKE_INSTALL_PREFIX=../install_pfunit\n    make \u0026\u0026 make install\n\nThen you can build and run the tests like:\n\n    mkdir build\n    cd build\n    cmake .. -DCMAKE_PREFIX_PATH=$(pwd)/../externals/install_pfunit/\n    make \u0026\u0026 ctest --verbose\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzedthree%2Ffortran-redblack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzedthree%2Ffortran-redblack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzedthree%2Ffortran-redblack/lists"}