{"action":"created","issue":{"url":"https://api.github.com/repos/cortexlang/cortex/issues/38","labels_url":"https://api.github.com/repos/cortexlang/cortex/issues/38/labels{/name}","comments_url":"https://api.github.com/repos/cortexlang/cortex/issues/38/comments","events_url":"https://api.github.com/repos/cortexlang/cortex/issues/38/events","html_url":"https://github.com/cortexlang/cortex/issues/38","id":50770544,"number":38,"title":"Review & slim down public API's","user":{"login":"SanderMertens","id":9919222,"avatar_url":"https://avatars.githubusercontent.com/u/9919222?v=3","gravatar_id":"","url":"https://api.github.com/users/SanderMertens","html_url":"https://github.com/SanderMertens","followers_url":"https://api.github.com/users/SanderMertens/followers","following_url":"https://api.github.com/users/SanderMertens/following{/other_user}","gists_url":"https://api.github.com/users/SanderMertens/gists{/gist_id}","starred_url":"https://api.github.com/users/SanderMertens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SanderMertens/subscriptions","organizations_url":"https://api.github.com/users/SanderMertens/orgs","repos_url":"https://api.github.com/users/SanderMertens/repos","events_url":"https://api.github.com/users/SanderMertens/events{/privacy}","received_events_url":"https://api.github.com/users/SanderMertens/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/cortexlang/cortex/labels/ObjectManagement","name":"ObjectManagement","color":"006b75"},{"url":"https://api.github.com/repos/cortexlang/cortex/labels/QA","name":"QA","color":"f7c6c7"},{"url":"https://api.github.com/repos/cortexlang/cortex/labels/Usability","name":"Usability","color":"bfdadc"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/cortexlang/cortex/milestones/2","html_url":"https://github.com/cortexlang/cortex/milestones/alpha%200.2.0","labels_url":"https://api.github.com/repos/cortexlang/cortex/milestones/2/labels","id":880518,"number":2,"title":"alpha 0.2.0","description":"The focus of this release is stabilization and QA.\r\n\r\nNew development will include:\r\n * implicit casting\r\n * improvements in compile-time type checking\r\n * an automated test framework\r\n * improved language stability tests","creator":{"login":"SanderMertens","id":9919222,"avatar_url":"https://avatars.githubusercontent.com/u/9919222?v=3","gravatar_id":"","url":"https://api.github.com/users/SanderMertens","html_url":"https://github.com/SanderMertens","followers_url":"https://api.github.com/users/SanderMertens/followers","following_url":"https://api.github.com/users/SanderMertens/following{/other_user}","gists_url":"https://api.github.com/users/SanderMertens/gists{/gist_id}","starred_url":"https://api.github.com/users/SanderMertens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SanderMertens/subscriptions","organizations_url":"https://api.github.com/users/SanderMertens/orgs","repos_url":"https://api.github.com/users/SanderMertens/repos","events_url":"https://api.github.com/users/SanderMertens/events{/privacy}","received_events_url":"https://api.github.com/users/SanderMertens/received_events","type":"User","site_admin":false},"open_issues":24,"closed_issues":78,"state":"open","created_at":"2014-11-25T22:01:50Z","updated_at":"2015-07-22T01:43:25Z","due_on":"2015-06-29T04:00:00Z","closed_at":null},"comments":8,"created_at":"2014-12-03T03:05:27Z","updated_at":"2015-07-23T05:36:45Z","closed_at":null,"body":"The public API's have evolved over a long period and I have a feeling that they could be reduced in both size and strategies employed to pass memory around.\r\n\r\nThe overall goal is to make the API as small and intuitive as possible as this will determine for a great part the usability and learning curve for the platform. The following things need to be addressed:\r\n * naming scheme\r\n * memory allocation strategy\r\n * string strategy\r\n * usage of variable argument lists\r\n * consistency with C language binding\r\n * error handling / reporting\r\n * ...\r\n\r\ndb_object.h contains the vast majority of API calls. There is a number of other files that have functions to do error reporting, time management, synchronization etc. but these arguably do not need to be exposed. The intend of this platform is not to provide a complete platform abstraction API for users though functionality build with the platform should be platform independent."},"comment":{"url":"https://api.github.com/repos/cortexlang/cortex/issues/comments/123978548","html_url":"https://github.com/cortexlang/cortex/issues/38#issuecomment-123978548","issue_url":"https://api.github.com/repos/cortexlang/cortex/issues/38","id":123978548,"user":{"login":"SanderMertens","id":9919222,"avatar_url":"https://avatars.githubusercontent.com/u/9919222?v=3","gravatar_id":"","url":"https://api.github.com/users/SanderMertens","html_url":"https://github.com/SanderMertens","followers_url":"https://api.github.com/users/SanderMertens/followers","following_url":"https://api.github.com/users/SanderMertens/following{/other_user}","gists_url":"https://api.github.com/users/SanderMertens/gists{/gist_id}","starred_url":"https://api.github.com/users/SanderMertens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SanderMertens/subscriptions","organizations_url":"https://api.github.com/users/SanderMertens/orgs","repos_url":"https://api.github.com/users/SanderMertens/repos","events_url":"https://api.github.com/users/SanderMertens/events{/privacy}","received_events_url":"https://api.github.com/users/SanderMertens/received_events","type":"User","site_admin":false},"created_at":"2015-07-23T05:36:45Z","updated_at":"2015-07-23T05:36:45Z","body":"Remove `cx_create_ext` function that has additional `attr` parameter. Replace this with a `cx_setDefaultAttr` function which set the attributes which the next cx_create/cx_declare is going to use. By default, these functions will use `CX_ATTR_DEFAULT`."}}