Sfoglia il codice sorgente

style: 修改VirtualMathCore为vmcore

SongZihuan 4 anni fa
parent
commit
097aeda477
93 ha cambiato i file con 10 aggiunte e 10 eliminazioni
  1. 3 3
      CMakeLists.txt
  2. 7 7
      vmcore/CMakeLists.txt
  3. 0 0
      vmcore/file/file.c
  4. 0 0
      vmcore/file/file_.c
  5. 0 0
      vmcore/gc/gc.c
  6. 0 0
      vmcore/include/__macro.h
  7. 0 0
      vmcore/include/__virtualmath.h
  8. 0 0
      vmcore/include/clib.h
  9. 0 0
      vmcore/include/file.h
  10. 0 0
      vmcore/include/gc.h
  11. 0 0
      vmcore/include/grammar.h
  12. 0 0
      vmcore/include/handler.h
  13. 0 0
      vmcore/include/inter.h
  14. 0 0
      vmcore/include/lexical.h
  15. 0 0
      vmcore/include/macro.h
  16. 0 0
      vmcore/include/md5.h
  17. 0 0
      vmcore/include/mem.h
  18. 0 0
      vmcore/include/ofunc.h
  19. 0 0
      vmcore/include/parameter.h
  20. 0 0
      vmcore/include/run.h
  21. 0 0
      vmcore/include/statement.h
  22. 0 0
      vmcore/include/syntax.h
  23. 0 0
      vmcore/include/token.h
  24. 0 0
      vmcore/include/value.h
  25. 0 0
      vmcore/include/var.h
  26. 0 0
      vmcore/include/virtualmath.h
  27. 0 0
      vmcore/include/win/dlfcn_win32.h
  28. 0 0
      vmcore/md5/include/__md5.h
  29. 0 0
      vmcore/md5/md5.c
  30. 0 0
      vmcore/memory/mem.c
  31. 0 0
      vmcore/ofunc/clib/manager.c
  32. 0 0
      vmcore/ofunc/include/__base.h
  33. 0 0
      vmcore/ofunc/include/__ofunc.h
  34. 0 0
      vmcore/ofunc/include/bool.h
  35. 0 0
      vmcore/ofunc/include/dict.h
  36. 0 0
      vmcore/ofunc/include/dictiter.h
  37. 0 0
      vmcore/ofunc/include/dou.h
  38. 0 0
      vmcore/ofunc/include/error_.h
  39. 0 0
      vmcore/ofunc/include/file_.h
  40. 0 0
      vmcore/ofunc/include/function.h
  41. 0 0
      vmcore/ofunc/include/int.h
  42. 0 0
      vmcore/ofunc/include/io.h
  43. 0 0
      vmcore/ofunc/include/lib_.h
  44. 0 0
      vmcore/ofunc/include/list.h
  45. 0 0
      vmcore/ofunc/include/listiter.h
  46. 0 0
      vmcore/ofunc/include/object.h
  47. 0 0
      vmcore/ofunc/include/pass.h
  48. 0 0
      vmcore/ofunc/include/pointer.h
  49. 0 0
      vmcore/ofunc/include/str.h
  50. 0 0
      vmcore/ofunc/include/sys.h
  51. 0 0
      vmcore/ofunc/include/vobject.h
  52. 0 0
      vmcore/ofunc/src/__ofunc.c
  53. 0 0
      vmcore/ofunc/src/bool.c
  54. 0 0
      vmcore/ofunc/src/dict.c
  55. 0 0
      vmcore/ofunc/src/dictiter.c
  56. 0 0
      vmcore/ofunc/src/dou.c
  57. 0 0
      vmcore/ofunc/src/error_.c
  58. 0 0
      vmcore/ofunc/src/file_.c
  59. 0 0
      vmcore/ofunc/src/function.c
  60. 0 0
      vmcore/ofunc/src/int.c
  61. 0 0
      vmcore/ofunc/src/io.c
  62. 0 0
      vmcore/ofunc/src/lib_.c
  63. 0 0
      vmcore/ofunc/src/list.c
  64. 0 0
      vmcore/ofunc/src/listiter.c
  65. 0 0
      vmcore/ofunc/src/object.c
  66. 0 0
      vmcore/ofunc/src/pass.c
  67. 0 0
      vmcore/ofunc/src/pointer.c
  68. 0 0
      vmcore/ofunc/src/str.c
  69. 0 0
      vmcore/ofunc/src/sys.c
  70. 0 0
      vmcore/ofunc/src/vobject.c
  71. 0 0
      vmcore/parser/__grammar.c
  72. 0 0
      vmcore/parser/grammar.c
  73. 0 0
      vmcore/parser/include/__grammar.h
  74. 0 0
      vmcore/parser/include/__token.h
  75. 0 0
      vmcore/parser/lexical.c
  76. 0 0
      vmcore/parser/syntax.c
  77. 0 0
      vmcore/parser/token.c
  78. 0 0
      vmcore/signalhandler/handler.c
  79. 0 0
      vmcore/src/__run.c
  80. 0 0
      vmcore/src/include/__run.h
  81. 0 0
      vmcore/src/inter.c
  82. 0 0
      vmcore/src/ofunc.c
  83. 0 0
      vmcore/src/parameter.c
  84. 0 0
      vmcore/src/run.c
  85. 0 0
      vmcore/src/runbranch.c
  86. 0 0
      vmcore/src/runcall.c
  87. 0 0
      vmcore/src/runfile.c
  88. 0 0
      vmcore/src/runoperation.c
  89. 0 0
      vmcore/src/statement.c
  90. 0 0
      vmcore/src/value.c
  91. 0 0
      vmcore/src/var.c
  92. 0 0
      vmcore/src/virtualmath.c
  93. 0 0
      vmcore/src/win/dlfcn_win32.c

+ 3 - 3
CMakeLists.txt

@@ -19,7 +19,7 @@ ENDIF()
 
 ADD_DEFINITIONS(-DCC=\"${CMAKE_C_COMPILER}\")
 INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/include)
-INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/VirtulMathCore/include)
+INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/vmcore/include)
 
 AUX_SOURCE_DIRECTORY(${CMAKE_CURRENT_SOURCE_DIR}/src SRC_LIST)
 AUX_SOURCE_DIRECTORY(${CMAKE_CURRENT_SOURCE_DIR}/argument ARGUMENT_LIST)
@@ -27,6 +27,6 @@ AUX_SOURCE_DIRECTORY(${CMAKE_CURRENT_SOURCE_DIR}/argument ARGUMENT_LIST)
 MESSAGE("project dir is ${PROJECT_SOURCE_DIR}")
 MESSAGE("cmake file in is ${CMAKE_CURRENT_SOURCE_DIR}")
 
-ADD_SUBDIRECTORY(${PROJECT_SOURCE_DIR}/VirtulMathCore)
+ADD_SUBDIRECTORY(${PROJECT_SOURCE_DIR}/vmcore)
 ADD_EXECUTABLE(VirtualMath main.c ${SRC_LIST} ${ARGUMENT_LIST})
-TARGET_LINK_LIBRARIES(VirtualMath VirtualMathCore)
+TARGET_LINK_LIBRARIES(VirtualMath vmcore)

+ 7 - 7
VirtulMathCore/CMakeLists.txt → vmcore/CMakeLists.txt

@@ -1,5 +1,5 @@
 CMAKE_MINIMUM_REQUIRED(VERSION 3.16)
-PROJECT(VirtualMathCore C)
+PROJECT(vmcore C)
 SET(CMAKE_C_STANDARD 11)
 
 INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/include)
@@ -18,13 +18,13 @@ AUX_SOURCE_DIRECTORY(${CMAKE_CURRENT_SOURCE_DIR}/ofunc/clib CLIB_LIST)
 AUX_SOURCE_DIRECTORY(${CMAKE_CURRENT_SOURCE_DIR}/signalhandler HANDLER_LIST)
 AUX_SOURCE_DIRECTORY(${CMAKE_CURRENT_SOURCE_DIR}/md5 MD5_LIST)
 
-ADD_LIBRARY(VirtualMathCore STATIC ${SRC_LIST} ${GC_LIST} ${PASER_LIST} ${MEM_LIST} ${FILE_LIST} ${ARGUMENT_LIST} ${OFUNC_LIST} ${HANDLER_LIST} ${CLIB_LIST} ${MD5_LIST})
-TARGET_LINK_LIBRARIES(VirtualMathCore m)
+ADD_LIBRARY(vmcore STATIC ${SRC_LIST} ${GC_LIST} ${PASER_LIST} ${MEM_LIST} ${FILE_LIST} ${ARGUMENT_LIST} ${OFUNC_LIST} ${HANDLER_LIST} ${CLIB_LIST} ${MD5_LIST})
+TARGET_LINK_LIBRARIES(vmcore m)
 IF (NOT (${CMAKE_SYSTEM_NAME} STREQUAL "Windows"))
-    TARGET_LINK_LIBRARIES(VirtualMathCore ffi)
-    TARGET_LINK_LIBRARIES(VirtualMathCore dl)
+    TARGET_LINK_LIBRARIES(vmcore ffi)
+    TARGET_LINK_LIBRARIES(vmcore dl)
 ELSE()
-    TARGET_LINK_LIBRARIES(VirtualMathCore libffi)
+    TARGET_LINK_LIBRARIES(vmcore libffi)
     ADD_LIBRARY(dlwin32 STATIC src/win/dlfcn_win32.c)
-    TARGET_LINK_LIBRARIES(VirtualMathCore dlwin32)
+    TARGET_LINK_LIBRARIES(vmcore dlwin32)
 ENDIF()

+ 0 - 0
VirtulMathCore/file/file.c → vmcore/file/file.c


+ 0 - 0
VirtulMathCore/file/file_.c → vmcore/file/file_.c


+ 0 - 0
VirtulMathCore/gc/gc.c → vmcore/gc/gc.c


+ 0 - 0
VirtulMathCore/include/__macro.h → vmcore/include/__macro.h


+ 0 - 0
VirtulMathCore/include/__virtualmath.h → vmcore/include/__virtualmath.h


+ 0 - 0
VirtulMathCore/include/clib.h → vmcore/include/clib.h


+ 0 - 0
VirtulMathCore/include/file.h → vmcore/include/file.h


+ 0 - 0
VirtulMathCore/include/gc.h → vmcore/include/gc.h


+ 0 - 0
VirtulMathCore/include/grammar.h → vmcore/include/grammar.h


+ 0 - 0
VirtulMathCore/include/handler.h → vmcore/include/handler.h


+ 0 - 0
VirtulMathCore/include/inter.h → vmcore/include/inter.h


+ 0 - 0
VirtulMathCore/include/lexical.h → vmcore/include/lexical.h


+ 0 - 0
VirtulMathCore/include/macro.h → vmcore/include/macro.h


+ 0 - 0
VirtulMathCore/include/md5.h → vmcore/include/md5.h


+ 0 - 0
VirtulMathCore/include/mem.h → vmcore/include/mem.h


+ 0 - 0
VirtulMathCore/include/ofunc.h → vmcore/include/ofunc.h


+ 0 - 0
VirtulMathCore/include/parameter.h → vmcore/include/parameter.h


+ 0 - 0
VirtulMathCore/include/run.h → vmcore/include/run.h


+ 0 - 0
VirtulMathCore/include/statement.h → vmcore/include/statement.h


+ 0 - 0
VirtulMathCore/include/syntax.h → vmcore/include/syntax.h


+ 0 - 0
VirtulMathCore/include/token.h → vmcore/include/token.h


+ 0 - 0
VirtulMathCore/include/value.h → vmcore/include/value.h


+ 0 - 0
VirtulMathCore/include/var.h → vmcore/include/var.h


+ 0 - 0
VirtulMathCore/include/virtualmath.h → vmcore/include/virtualmath.h


+ 0 - 0
VirtulMathCore/include/win/dlfcn_win32.h → vmcore/include/win/dlfcn_win32.h


+ 0 - 0
VirtulMathCore/md5/include/__md5.h → vmcore/md5/include/__md5.h


+ 0 - 0
VirtulMathCore/md5/md5.c → vmcore/md5/md5.c


+ 0 - 0
VirtulMathCore/memory/mem.c → vmcore/memory/mem.c


+ 0 - 0
VirtulMathCore/ofunc/clib/manager.c → vmcore/ofunc/clib/manager.c


+ 0 - 0
VirtulMathCore/ofunc/include/__base.h → vmcore/ofunc/include/__base.h


+ 0 - 0
VirtulMathCore/ofunc/include/__ofunc.h → vmcore/ofunc/include/__ofunc.h


+ 0 - 0
VirtulMathCore/ofunc/include/bool.h → vmcore/ofunc/include/bool.h


+ 0 - 0
VirtulMathCore/ofunc/include/dict.h → vmcore/ofunc/include/dict.h


+ 0 - 0
VirtulMathCore/ofunc/include/dictiter.h → vmcore/ofunc/include/dictiter.h


+ 0 - 0
VirtulMathCore/ofunc/include/dou.h → vmcore/ofunc/include/dou.h


+ 0 - 0
VirtulMathCore/ofunc/include/error_.h → vmcore/ofunc/include/error_.h


+ 0 - 0
VirtulMathCore/ofunc/include/file_.h → vmcore/ofunc/include/file_.h


+ 0 - 0
VirtulMathCore/ofunc/include/function.h → vmcore/ofunc/include/function.h


+ 0 - 0
VirtulMathCore/ofunc/include/int.h → vmcore/ofunc/include/int.h


+ 0 - 0
VirtulMathCore/ofunc/include/io.h → vmcore/ofunc/include/io.h


+ 0 - 0
VirtulMathCore/ofunc/include/lib_.h → vmcore/ofunc/include/lib_.h


+ 0 - 0
VirtulMathCore/ofunc/include/list.h → vmcore/ofunc/include/list.h


+ 0 - 0
VirtulMathCore/ofunc/include/listiter.h → vmcore/ofunc/include/listiter.h


+ 0 - 0
VirtulMathCore/ofunc/include/object.h → vmcore/ofunc/include/object.h


+ 0 - 0
VirtulMathCore/ofunc/include/pass.h → vmcore/ofunc/include/pass.h


+ 0 - 0
VirtulMathCore/ofunc/include/pointer.h → vmcore/ofunc/include/pointer.h


+ 0 - 0
VirtulMathCore/ofunc/include/str.h → vmcore/ofunc/include/str.h


+ 0 - 0
VirtulMathCore/ofunc/include/sys.h → vmcore/ofunc/include/sys.h


+ 0 - 0
VirtulMathCore/ofunc/include/vobject.h → vmcore/ofunc/include/vobject.h


+ 0 - 0
VirtulMathCore/ofunc/src/__ofunc.c → vmcore/ofunc/src/__ofunc.c


+ 0 - 0
VirtulMathCore/ofunc/src/bool.c → vmcore/ofunc/src/bool.c


+ 0 - 0
VirtulMathCore/ofunc/src/dict.c → vmcore/ofunc/src/dict.c


+ 0 - 0
VirtulMathCore/ofunc/src/dictiter.c → vmcore/ofunc/src/dictiter.c


+ 0 - 0
VirtulMathCore/ofunc/src/dou.c → vmcore/ofunc/src/dou.c


+ 0 - 0
VirtulMathCore/ofunc/src/error_.c → vmcore/ofunc/src/error_.c


+ 0 - 0
VirtulMathCore/ofunc/src/file_.c → vmcore/ofunc/src/file_.c


+ 0 - 0
VirtulMathCore/ofunc/src/function.c → vmcore/ofunc/src/function.c


+ 0 - 0
VirtulMathCore/ofunc/src/int.c → vmcore/ofunc/src/int.c


+ 0 - 0
VirtulMathCore/ofunc/src/io.c → vmcore/ofunc/src/io.c


+ 0 - 0
VirtulMathCore/ofunc/src/lib_.c → vmcore/ofunc/src/lib_.c


+ 0 - 0
VirtulMathCore/ofunc/src/list.c → vmcore/ofunc/src/list.c


+ 0 - 0
VirtulMathCore/ofunc/src/listiter.c → vmcore/ofunc/src/listiter.c


+ 0 - 0
VirtulMathCore/ofunc/src/object.c → vmcore/ofunc/src/object.c


+ 0 - 0
VirtulMathCore/ofunc/src/pass.c → vmcore/ofunc/src/pass.c


+ 0 - 0
VirtulMathCore/ofunc/src/pointer.c → vmcore/ofunc/src/pointer.c


+ 0 - 0
VirtulMathCore/ofunc/src/str.c → vmcore/ofunc/src/str.c


+ 0 - 0
VirtulMathCore/ofunc/src/sys.c → vmcore/ofunc/src/sys.c


+ 0 - 0
VirtulMathCore/ofunc/src/vobject.c → vmcore/ofunc/src/vobject.c


+ 0 - 0
VirtulMathCore/parser/__grammar.c → vmcore/parser/__grammar.c


+ 0 - 0
VirtulMathCore/parser/grammar.c → vmcore/parser/grammar.c


+ 0 - 0
VirtulMathCore/parser/include/__grammar.h → vmcore/parser/include/__grammar.h


+ 0 - 0
VirtulMathCore/parser/include/__token.h → vmcore/parser/include/__token.h


+ 0 - 0
VirtulMathCore/parser/lexical.c → vmcore/parser/lexical.c


+ 0 - 0
VirtulMathCore/parser/syntax.c → vmcore/parser/syntax.c


+ 0 - 0
VirtulMathCore/parser/token.c → vmcore/parser/token.c


+ 0 - 0
VirtulMathCore/signalhandler/handler.c → vmcore/signalhandler/handler.c


+ 0 - 0
VirtulMathCore/src/__run.c → vmcore/src/__run.c


+ 0 - 0
VirtulMathCore/src/include/__run.h → vmcore/src/include/__run.h


+ 0 - 0
VirtulMathCore/src/inter.c → vmcore/src/inter.c


+ 0 - 0
VirtulMathCore/src/ofunc.c → vmcore/src/ofunc.c


+ 0 - 0
VirtulMathCore/src/parameter.c → vmcore/src/parameter.c


+ 0 - 0
VirtulMathCore/src/run.c → vmcore/src/run.c


+ 0 - 0
VirtulMathCore/src/runbranch.c → vmcore/src/runbranch.c


+ 0 - 0
VirtulMathCore/src/runcall.c → vmcore/src/runcall.c


+ 0 - 0
VirtulMathCore/src/runfile.c → vmcore/src/runfile.c


+ 0 - 0
VirtulMathCore/src/runoperation.c → vmcore/src/runoperation.c


+ 0 - 0
VirtulMathCore/src/statement.c → vmcore/src/statement.c


+ 0 - 0
VirtulMathCore/src/value.c → vmcore/src/value.c


+ 0 - 0
VirtulMathCore/src/var.c → vmcore/src/var.c


+ 0 - 0
VirtulMathCore/src/virtualmath.c → vmcore/src/virtualmath.c


+ 0 - 0
VirtulMathCore/src/win/dlfcn_win32.c → vmcore/src/win/dlfcn_win32.c