logo

libbulletml

Library of Bullet Markup Language (forked from https://shinh.skr.jp/libbulletml/index_en.html )git clone https://hacktivis.me/git/libbulletml.git

README (3643B)


  1. from D to C++
  2. If you are more familiar English than Japanese, please read README.en.
  3. ¡¦ÀâÌÀ¡£
  4. C++ ¤Î°ä»º(»à¤ó¤Ç¤Ê¤¤) ¤ò D ¤«¤é¿¨¤ë¤¿¤á¤Î¤â¤Î¤Ç¤¹¡£
  5. extern(C++) ¤¬¥µ¥Ý¡¼¥È¤µ¤ì¤¿»þ¡¢Ìµ°ÕÌ£¤Ëµ¢¤ê¤Þ¤¹¡£
  6. C++ ¤«¤é¤Ï C ¤Î¥¤¥ó¥¿¡¼¥Õ¥§¥¤¥¹¤òÄ󶡤·¤Æ¡¢
  7. D ¤«¤é¤½¤ì¤ò¿¨¤ë¤¿¤á¤Î¥¤¥ó¥Ý¡¼¥È¥é¥¤¥Ö¥é¥ê¤âºî¤é¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡¢
  8. ¤È¤¤¤¦¤³¤È¤òÍý²ò¤·¤Æ失¤ì¤Ð²¿¤¬¤ä¤ê¤¿¤¤¤«¤¬¤ï¤«¤ë¤«¤È»×¤¤¤Þ¤¹¡£
  9. C ´Ø¿ô¤ÎÀë¸À/ÄêµÁ¤Ï C++ ¥½¡¼¥¹¤«¤é¥×¥ê¥×¥í¥»¥Ã¥µ¤Ç¡¢
  10. D ´Ø¿ô¤ÎÀë¸À¤Ï C++ ¥½¡¼¥¹¤«¤é perl ¥¹¥¯¥ê¥×¥È¤ÇÀ¸À®¤µ¤ì¤Þ¤¹¡£
  11. README.en ¤ÇÀâÌÀ¤òÊü´þ¤¹¤ë¤¿¤á¤Ëºî¤Ã¤¿¿Þ¡£
  12. generating process
  13. C++ using d_cpp -----------------------> C wrapper
  14. (interface definition) | preprocesser
  15. |
  16. --------------------> D import interface
  17. perl script
  18. accessing process
  19. D client code --> D import interface --> C wrapper -->
  20. C++ using d_cpp --> C++ library code
  21. ¡¦¥Õ¥¡¥¤¥ë¤ÎÀâÌÀ
  22. README:
  23. ¤³¤ì¡£
  24. Makefile:
  25. ¥µ¥ó¥×¥ë¤Ç¤¢¤ë¤È¤³¤í¤Î cpp_test ¼Â¹Ô¥Õ¥¡¥¤¥ë¤òºî¤ë¡£
  26. Makefile.win32:
  27. windows ¤Ç¤Î Makefile¡£
  28. d_cpp_interface.h:
  29. C++ ¤«¤é C ¤ÎÀë¸À¤òÀ¸À®¤¹¤ë¤¿¤á¤Î¥Ø¥Ã¥À¡£
  30. create_d_import.pl:
  31. D ¤ÎÀë¸À¤ò¼«Æ°À¸À®¤¹¤ë perl ¥¹¥¯¥ê¥×¥È¡£
  32. cpp.cc:
  33. ¥µ¥ó¥×¥ë¡¢¥æ¡¼¥¶¤¬½ñ¤«¤Ë¤ã¤Ê¤é¤ó¤Î¤Ï¤³¤ÎÉôʬ¤Ç¤¹¡£
  34. cpp_test.d:
  35. D ¤«¤é cpp.cc ¤ò¼ÂºÝ¤Ë¤¤¤¸¤Ã¤Æ¤ß¤ë¥µ¥ó¥×¥ë¡£
  36. create_d_cpp_interface.pl:
  37. ¤ª¤Þ¤±¡£d_cpp_interface.h ¤òÀ¸À®¤¹¤ë¡£²þ¤¤·¤¿¤¤¾ì¹ç¤Ë¤É¤¦¤¾¡£
  38. cpp.cc ¤ÎÁ°È¾¤¬ D ¤«¤é»È¤¤¤¿¤¤¥¯¥é¥¹¥é¥¤¥Ö¥é¥ê¡¢
  39. ¸åȾÉô¤¬ D ¤Ç import ¤¹¤ë¤Î¤ËɬÍפʺî¶È¤Ç¤¹¡£
  40. cpp.cc ¤Ë C ´Ø¿ô¤ÎÄêµÁ¤¬¥Þ¥¯¥í¤ÇÀ¸À®¤µ¤ì¤Þ¤¹¡£
  41. ¤³¤Î¥Þ¥¯¥í¤Ï»¨¤Ê perl script ¤Ç¥Ñ¡¼¥¹¤¹¤ë¤¿¤á¡¢
  42. ÅÓÃæ¤ÇÀäÂвþ¹Ô¤·¤Ê¤¤¤Ç²¼¤µ¤¤¡£
  43. D ¤Ë¤è¤ë import ¤Ï create_d_import.pl ¤òÍѤ¤¤Æ
  44. import ¤¹¤ë¤¿¤á¤Î¥Õ¥¡¥¤¥ë¤òºîÀ®¤·¤Æ²¼¤µ¤¤¡£
  45. ¤³¤Î¥Õ¥¡¥¤¥ë¤Ë¤ÏÀë¸À¤·¤«´Þ¤Þ¤ì¤Ê¤¤¤Î¤Ç¡¢
  46. ¥³¥ó¥Ñ¥¤¥ë¡¦¥ê¥ó¥¯¤¹¤ëɬÍפϤ¢¤ê¤Þ¤»¤ó¡£
  47. ¤³¤ó¤Ê¤ä¤ä¤³¤·¤¤¤â¤Î¤ÎÀâÌÀ¤ò½ñ¤¯¼«¿®¤¬Ìµ¤¤¤Î¤Ç¡¢
  48. cpp.cc ¤òį¤á¤ÆŬÅö¤ËÍý²ò¤·¤Æ²¼¤µ¤¤¡£
  49. ¡¦¤½¤Î¾
  50. ¤È¤Æ¤â¤È¤Æ¤â¦ÁÈǤǤ¹¡£¤´°Õ¸«Äº¤±¤ë¤È¤È¤Æ¤â´ò¤·¤¤¤Ç¤¹¡£
  51. °Ê²¼¤¬¼ÂºÝŪ¤Ê¼ÂÎã¤È¤Ê¤Ã¤Æ¤¤¤Þ¤¹¡£
  52. http://user.ecc.u-tokyo.ac.jp/~s31552/wp/bulletss/
  53. ½¤Àµ BSD ¥é¥¤¥»¥ó¥¹¤Ë½¾¤Ã¤ÆÇÛÉÛ¤·¤Þ¤¹¡£
  54. Copyright (c) 2003, shinichiro.h All rights reserved.
  55. Redistribution and use in source and binary forms, with or without
  56. modification, are permitted provided that the following conditions are
  57. met:
  58. * Redistributions of source code must retain the above copyright
  59. notice, this list of conditions and the following disclaimer.
  60. * Redistributions in binary form must reproduce the above
  61. copyright notice, this list of conditions and the following
  62. disclaimer in the documentation and/or other materials provided
  63. with the distribution.
  64. * The name of the author may not be used to endorse or promote
  65. products derived from this software without specific prior
  66. written permission.
  67. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
  68. "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
  69. LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
  70. A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
  71. OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  72. SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
  73. LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
  74. DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
  75. THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  76. (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
  77. OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  78. ------------------
  79. shinichiro.h
  80. s31552@mail.ecc.u-tokyo.ac.jp
  81. http://user.ecc.u-tokyo.ac.jp/~s31552/wp/