{"action":"opened","issue":{"url":"https://api.github.com/repos/TypeCobolTeam/TypeCobol/issues/286","repository_url":"https://api.github.com/repos/TypeCobolTeam/TypeCobol","labels_url":"https://api.github.com/repos/TypeCobolTeam/TypeCobol/issues/286/labels{/name}","comments_url":"https://api.github.com/repos/TypeCobolTeam/TypeCobol/issues/286/comments","events_url":"https://api.github.com/repos/TypeCobolTeam/TypeCobol/issues/286/events","html_url":"https://github.com/TypeCobolTeam/TypeCobol/issues/286","id":178062497,"number":286,"title":"Possibility to load multiple skeletons files ","user":{"login":"smedilol","id":13764482,"avatar_url":"https://avatars.githubusercontent.com/u/13764482?v=3","gravatar_id":"","url":"https://api.github.com/users/smedilol","html_url":"https://github.com/smedilol","followers_url":"https://api.github.com/users/smedilol/followers","following_url":"https://api.github.com/users/smedilol/following{/other_user}","gists_url":"https://api.github.com/users/smedilol/gists{/gist_id}","starred_url":"https://api.github.com/users/smedilol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smedilol/subscriptions","organizations_url":"https://api.github.com/users/smedilol/orgs","repos_url":"https://api.github.com/users/smedilol/repos","events_url":"https://api.github.com/users/smedilol/events{/privacy}","received_events_url":"https://api.github.com/users/smedilol/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/TypeCobolTeam/TypeCobol/labels/enhancement","name":"enhancement","color":"207de5"},{"url":"https://api.github.com/repos/TypeCobolTeam/TypeCobol/labels/To%20Analyze","name":"To Analyze","color":"fbca04"},{"url":"https://api.github.com/repos/TypeCobolTeam/TypeCobol/labels/Tools","name":"Tools","color":"666666"}],"state":"open","locked":false,"assignee":{"login":"smedilol","id":13764482,"avatar_url":"https://avatars.githubusercontent.com/u/13764482?v=3","gravatar_id":"","url":"https://api.github.com/users/smedilol","html_url":"https://github.com/smedilol","followers_url":"https://api.github.com/users/smedilol/followers","following_url":"https://api.github.com/users/smedilol/following{/other_user}","gists_url":"https://api.github.com/users/smedilol/gists{/gist_id}","starred_url":"https://api.github.com/users/smedilol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smedilol/subscriptions","organizations_url":"https://api.github.com/users/smedilol/orgs","repos_url":"https://api.github.com/users/smedilol/repos","events_url":"https://api.github.com/users/smedilol/events{/privacy}","received_events_url":"https://api.github.com/users/smedilol/received_events","type":"User","site_admin":false},"assignees":[{"login":"smedilol","id":13764482,"avatar_url":"https://avatars.githubusercontent.com/u/13764482?v=3","gravatar_id":"","url":"https://api.github.com/users/smedilol","html_url":"https://github.com/smedilol","followers_url":"https://api.github.com/users/smedilol/followers","following_url":"https://api.github.com/users/smedilol/following{/other_user}","gists_url":"https://api.github.com/users/smedilol/gists{/gist_id}","starred_url":"https://api.github.com/users/smedilol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smedilol/subscriptions","organizations_url":"https://api.github.com/users/smedilol/orgs","repos_url":"https://api.github.com/users/smedilol/repos","events_url":"https://api.github.com/users/smedilol/events{/privacy}","received_events_url":"https://api.github.com/users/smedilol/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/TypeCobolTeam/TypeCobol/milestones/26","html_url":"https://github.com/TypeCobolTeam/TypeCobol/milestones/Version%201.1","labels_url":"https://api.github.com/repos/TypeCobolTeam/TypeCobol/milestones/26/labels","id":1865356,"number":26,"title":"Version 1.1","description":"","creator":{"login":"smedilol","id":13764482,"avatar_url":"https://avatars.githubusercontent.com/u/13764482?v=3","gravatar_id":"","url":"https://api.github.com/users/smedilol","html_url":"https://github.com/smedilol","followers_url":"https://api.github.com/users/smedilol/followers","following_url":"https://api.github.com/users/smedilol/following{/other_user}","gists_url":"https://api.github.com/users/smedilol/gists{/gist_id}","starred_url":"https://api.github.com/users/smedilol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smedilol/subscriptions","organizations_url":"https://api.github.com/users/smedilol/orgs","repos_url":"https://api.github.com/users/smedilol/repos","events_url":"https://api.github.com/users/smedilol/events{/privacy}","received_events_url":"https://api.github.com/users/smedilol/received_events","type":"User","site_admin":false},"open_issues":11,"closed_issues":2,"state":"open","created_at":"2016-07-05T15:58:18Z","updated_at":"2016-09-20T13:39:45Z","due_on":"2016-11-06T23:00:00Z","closed_at":null},"comments":0,"created_at":"2016-09-20T13:39:45Z","updated_at":"2016-09-20T13:39:45Z","closed_at":null,"body":"# Current context\r\nTypeCobol is used to generate valid Cobol 85.\r\nTo do so, the project `CodeGen` use skeleton files that contains rules of transformation from TypeCobol to Cobol85.\r\ne.g.: content of a skeleton file:\r\n```\r\n<skeleton name=\"TYPEDEF\">\r\n   <conditions>\r\n     <condition node=\"TypeCobol.Compiler.CodeElements.DataDescriptionEntry\" typedef=\"*\"/>\r\n   </conditions>\r\n   <patterns>\r\n      <pattern location=\"NODE\" action=\"comment\"></pattern>\r\n   </patterns>\r\n</skeleton>\r\n```\r\nThis skeleton tells code generator to comment all nodes that are a DataDescriptionEntry.\r\nYou can see a full example here:\r\n`Codegen.Test\\resources\\config\\Types.xml`\r\n\r\n\r\nCurrently Command Line interface of TypeCobol only allow you to specify one skeleton file.\r\nBut to keep things clean, we choosed to create one skeleton file per concept of TypeCobol: Types, functions, procedures.\r\n\r\nSo we're currently merging all of our skeletons files into one.\r\n\r\n# The need\r\nWhat would be great is to specify a path with wildcard to load a full directory that contains skeletons files.\r\ne.g. `SkeletonFolder\\*.xml`\r\n\r\n\r\n# Notes about implementation:\r\nYou can start modifications into `TypeCobol.Server.Server`\r\nCurrent line that load one skeleton file is:\r\n`var skeletons = TypeCobol.Codegen.Config.Config.Parse(config.skeletonPath);`\r\nVariable `var skeletons` is of type `List<Skeleton>` and must contains `Skeleton` of each file specified in command line."}}
{"actor":{"display_login":"smedilol"}}