{"id":13507795,"url":"https://github.com/qhool/quaff","last_synced_at":"2025-03-30T09:33:05.261Z","repository":{"id":13961066,"uuid":"16661417","full_name":"qhool/quaff","owner":"qhool","description":"Erlang/Elixir helpers","archived":false,"fork":false,"pushed_at":"2024-04-10T18:34:24.000Z","size":33,"stargazers_count":83,"open_issues_count":5,"forks_count":15,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-11-01T07:33:15.931Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"alsotang/node-lessons","license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/qhool.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2014-02-09T06:27:21.000Z","updated_at":"2024-08-26T14:21:32.000Z","dependencies_parsed_at":"2024-05-01T16:19:48.510Z","dependency_job_id":"21005aba-bc8a-4cac-9f44-325df3282016","html_url":"https://github.com/qhool/quaff","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/qhool%2Fquaff","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qhool%2Fquaff/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qhool%2Fquaff/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qhool%2Fquaff/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/qhool","download_url":"https://codeload.github.com/qhool/quaff/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246301963,"owners_count":20755512,"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":[],"created_at":"2024-08-01T02:00:39.302Z","updated_at":"2025-03-30T09:33:04.973Z","avatar_url":"https://github.com/qhool.png","language":"Elixir","funding_links":[],"categories":["Debugging"],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.org/qhool/quaff.png?branch=master)](https://travis-ci.org/qhool/quaff)\n\nQuaff\n=====\n\nQuaff is a set of tools for integrating Elixir into erlang applications (or vice versa).\n\nQuaff.Constants\n---------------\n\nThis module parses erlang header files, and imports any constants as `@` attributes. A constant means a `-define` macro which evaluates to a constant term, and takes no arguments (though it may use macros which accept arguments).  Constants whose names start with a capital letter will have an underscore prepended, for compatibility with Elixir syntax.\n\napp/include/app_header.hrl:\n\n    -define(CONSTANT_FROM_APP,5)\n\nlib/mymodule.ex:\n\n    defmodule MyModule\n       require Quaff.Constants\n       Quaff.Constants.include_lib(\"app/include/app_header.hrl\")\n\n       def myfunc() do\n         @_CONSTANT_FROM_APP + 10\n       end\n    end\n\n\nQuaff.Debug\n-----------\n\nThe Debug module provides a simple helper interface for running Elixir code in the erlang graphical debugger, using the technique I described in [this posting](http://qhool.github.io/elixir/2014/02/06/elixir-debug.html).\n\n\n    Interactive Elixir (0.12.2) - press Ctrl+C to exit (type h() ENTER for help)\n    iex(1)\u003e  Quaff.Debug.start() #start the graphical debugger\n    {:ok, #PID\u003c0.59.0\u003e}\n    iex(2)\u003e  Quaff.Debug.load(\"./lib/mymodule.ex\") #load all modules in source file\n    lib/mymodule.ex:1: redefining module My.Module\n    lib/mymodule.ex:212: redefining module My.OtherModule\n    [module: My.Module, module: My.OtherModule]\n    iex(3)\u003e  Quaff.Debug.load(Yet.AnotherModule) #load a module by name\n    {:module, Yet.AnotherModule}\n\nAlso provided is `nload(module)` (equivalent to `load(module, all_nodes: true)`), which debugs the module[s] on all known nodes.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqhool%2Fquaff","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqhool%2Fquaff","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqhool%2Fquaff/lists"}