{"id":18275729,"url":"https://github.com/davideuler/sqlite-2.5.0-for-code-reading","last_synced_at":"2025-04-09T09:09:28.874Z","repository":{"id":40443994,"uuid":"125641705","full_name":"davideuler/SQLite-2.5.0-for-code-reading","owner":"davideuler","description":"SQLite 2.5.0 fixed version for modern GCC, which is perfect for code reading, database design learning","archived":false,"fork":false,"pushed_at":"2018-03-17T16:32:04.000Z","size":753,"stargazers_count":370,"open_issues_count":0,"forks_count":77,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-04-02T08:08:51.720Z","etag":null,"topics":["c","code-reading","database","learning-by-project","programming"],"latest_commit_sha":null,"homepage":"","language":"C","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/davideuler.png","metadata":{"files":{"readme":"README","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}},"created_at":"2018-03-17T15:16:00.000Z","updated_at":"2025-04-02T04:15:38.000Z","dependencies_parsed_at":"2022-07-16T13:16:17.135Z","dependency_job_id":null,"html_url":"https://github.com/davideuler/SQLite-2.5.0-for-code-reading","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davideuler%2FSQLite-2.5.0-for-code-reading","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davideuler%2FSQLite-2.5.0-for-code-reading/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davideuler%2FSQLite-2.5.0-for-code-reading/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davideuler%2FSQLite-2.5.0-for-code-reading/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/davideuler","download_url":"https://codeload.github.com/davideuler/SQLite-2.5.0-for-code-reading/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248008630,"owners_count":21032556,"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":["c","code-reading","database","learning-by-project","programming"],"created_at":"2024-11-05T12:13:52.335Z","updated_at":"2025-04-09T09:09:28.851Z","avatar_url":"https://github.com/davideuler.png","language":"C","readme":"This project is forked from 2.5.0 SQLite, and fixed for modern C compilers like GCC.\n\nEarlier SQLite is perfect source for code reading, and for database design and implementation.\nFor SQLite 2.5.0, it has a core code base less than 20000 LOC in ANSI C which is easy to understand.\n\nI digged into historical versions of SQLite, and fixed this version against GCC on MacOS 10.13 and Debian 8.\n\n$sloccount SQLite-2.5.0-for-code-reading\nSLOC\tDirectory\tSLOC-by-Language (Sorted)\n20914   src_top_dir     ansic=19895,yacc=584,tcl=435\n6831    top_dir         sh=6831\n6363    www             tcl=6363\n4051    tool            ansic=3606,tcl=372,awk=73\n156     test            tcl=156\n0       doc             (none)\n\n\n    SQLite: An SQL Database Engine in a C Library\n\nTo compile the project, first create a directory in which to place\nthe build products.  It is recommended, but not required, that the\nbuild directory be separate from the source directory.  Cd into the\nbuild directory and then from the build directory run the configure\nscript found at the root of the source tree.  Then run \"make\".\n\nFor example:\n\n    tar xzf sqlite.tar.gz    ;#  Unpack the source tree into \"sqlite\"\n    mkdir bld                ;#  Build will occur in a sibling directory\n    cd bld                   ;#  Change to the build directory\n    ../sqlite/configure      ;#  Run the configure script\n    make                     ;#  Run the makefile.\n\nThe configure script uses autoconf 2.50 and libtool.  If the configure\nscript does not work out for you, there is a generic makefile named\n\"Makefile.template\" in the top directory of the source tree that you\ncan copy and edit to suite your needs.  Comments on the generic makefile\nshow what changes are needed.\n\nThe windows binaries on the website are created using MinGW32 configured\nas a cross-compiler running under Linux.  For details, see the ./publish.sh\nscript at the top-level of the source tree.\n\nContacts:\n\n   http://www.hwaci.com/sw/sqlite/\n   http://groups.yahoo.com/group/sqlite/\n   drh@hwaci.com\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavideuler%2Fsqlite-2.5.0-for-code-reading","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdavideuler%2Fsqlite-2.5.0-for-code-reading","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavideuler%2Fsqlite-2.5.0-for-code-reading/lists"}