{"id":22823165,"url":"https://github.com/okeuday/record_info_runtime","last_synced_at":"2025-04-23T03:48:43.153Z","repository":{"id":10569858,"uuid":"12775258","full_name":"okeuday/record_info_runtime","owner":"okeuday","description":"Parse transform for using record_info(size, _) and record_info(fields, _) during runtime","archived":false,"fork":false,"pushed_at":"2014-03-03T20:49:27.000Z","size":200,"stargazers_count":5,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-23T03:48:38.529Z","etag":null,"topics":["data-structures","erlang"],"latest_commit_sha":null,"homepage":"","language":"Erlang","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/okeuday.png","metadata":{"files":{"readme":"README.markdown","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":"2013-09-12T04:58:31.000Z","updated_at":"2019-11-04T08:33:42.000Z","dependencies_parsed_at":"2022-09-03T01:11:24.523Z","dependency_job_id":null,"html_url":"https://github.com/okeuday/record_info_runtime","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/okeuday%2Frecord_info_runtime","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/okeuday%2Frecord_info_runtime/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/okeuday%2Frecord_info_runtime/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/okeuday%2Frecord_info_runtime/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/okeuday","download_url":"https://codeload.github.com/okeuday/record_info_runtime/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250366682,"owners_count":21418768,"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","erlang"],"created_at":"2024-12-12T16:14:40.528Z","updated_at":"2025-04-23T03:48:43.130Z","avatar_url":"https://github.com/okeuday.png","language":"Erlang","funding_links":[],"categories":[],"sub_categories":[],"readme":"`record_info_runtime` `Parse Transform`\n=======================================\n\nProvides the functions:\n\n    record_info_size/1\n    record_info_fields/1\n\nWhich are the runtime equivalent of:\n\n    record_info(size, _)\n    record_info(fields, _)\n\nThe complete list of functions provided by the parse transform for\nruntime usage with a variable storing the atom record name is below:\n\n* `records/0` - List of all record names defined\n* `record_new/1` - Create a record with the defaults assigned\n* `record_info_size/1` - Provide the record size (same as `erlang:tuple_size/1`)\n* `record_info_fields/1` - Provide the record fields list (atom names for each record field)\n* `record_info_fieldtypes/1` - Provide the record fields paired with their types in a list of tuples\n\nUsing\n-----\n\nAdd this line to your module to use the `record_info_runtime` parse transform:\n\n    -compile([{parse_transform, record_info_runtime}]).\n\nBuild\n-----\n\n    rebar compile\n\nAuthor\n------\n\nMichael Truog (mjtruog [at] gmail (dot) com)\n\nLicense\n-------\n\nBSD\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fokeuday%2Frecord_info_runtime","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fokeuday%2Frecord_info_runtime","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fokeuday%2Frecord_info_runtime/lists"}