Skip to content

Commit eb9d68e

Browse files
committed
Remove JSON support
The JSON support was not finished and we probably want to just support our own serialization format anyway.
1 parent 430ab75 commit eb9d68e

5 files changed

Lines changed: 0 additions & 179 deletions

File tree

src/lpython/CMakeLists.txt

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,21 +26,13 @@ if (WITH_XEUS)
2626
# fortran_kernel.cpp
2727
)
2828
endif()
29-
if (WITH_JSON)
30-
set(SRC ${SRC}
31-
ast_to_json.cpp
32-
)
33-
endif()
3429
add_library(lfortran_lib ${SRC})
3530
target_link_libraries(lfortran_lib asr lfortran_runtime_static ZLIB::ZLIB)
3631
target_include_directories(lfortran_lib BEFORE PUBLIC ${lfortran_SOURCE_DIR}/src)
3732
target_include_directories(lfortran_lib BEFORE PUBLIC ${lfortran_BINARY_DIR}/src)
3833
if (WITH_XEUS)
3934
target_link_libraries(lfortran_lib xeus)
4035
endif()
41-
if (WITH_JSON)
42-
target_link_libraries(lfortran_lib p::rapidjson)
43-
endif()
4436
if (WITH_BFD)
4537
target_link_libraries(lfortran_lib p::bfd)
4638
endif()

src/lpython/ast_to_json.cpp

Lines changed: 0 additions & 76 deletions
This file was deleted.

src/lpython/ast_to_json.h

Lines changed: 0 additions & 12 deletions
This file was deleted.

src/lpython/tests/CMakeLists.txt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,6 @@ set(SRC
2424
test_error_rendering.cpp
2525
)
2626

27-
if (WITH_JSON)
28-
set(SRC ${SRC}
29-
test_ast_to_json.cpp
30-
)
31-
endif()
3227
if (WITH_LLVM)
3328
set(SRC ${SRC}
3429
test_llvm.cpp

src/lpython/tests/test_ast_to_json.cpp

Lines changed: 0 additions & 78 deletions
This file was deleted.

0 commit comments

Comments
 (0)