|
From: | Patrick |
Subject: | [open-cobol-list] user generated final bindings, more day dreaming |
Date: | Sun, 30 Jun 2013 10:22:58 -0400 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130510 Thunderbird/17.0.6 |
Hi Everyone I find writing bindings difficult. I have never been able to write anything reusable by others, only for myself. structs are tough to work with from outside of C, at least for me and other types can be annoying like enumerations, in that you have to figure out the int they represent. We have a language that plays well with C but we also have a small community and not enough manpower to write a lot of bindings. I am day dreaming about another approach. What if I made a .c file that had what was need to use a library, various function calls and such but I placed markers through it. These markers would be substituted out by binding generated program, based on the input from a developer. so a little pseudo code:
|
[Prev in Thread] | Current Thread | [Next in Thread] |