From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lj1-f195.google.com (mail-lj1-f195.google.com [209.85.208.195]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id 50138469710 for ; Tue, 12 May 2020 16:51:00 +0300 (MSK) Received: by mail-lj1-f195.google.com with SMTP id a21so13702557ljj.11 for ; Tue, 12 May 2020 06:51:00 -0700 (PDT) From: Cyrill Gorcunov Date: Tue, 12 May 2020 16:50:45 +0300 Message-Id: <20200512135052.221379-1-gorcunov@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [Tarantool-patches] [PATCH 0/7] box/console: add support for internal types List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: tml In the series we implement support for internal taranool types such as ULL. To be able to do so we implement own serializer thus the output is simiar to encodings in yaml mode. Once things settle down we will drop serpent module. I guess I need to explain why serpent didn't fit: there is no interface inside serpent to fetch internal tarantool types and adding it means more work to do than implement an own serializer. v-2: - address issues with achors encoding issue https://github.com/tarantool/tarantool/issues/4682 branch gorcunov/gh-4682-console-numbers-2 Cyrill Gorcunov (7): box/console: console_session_vtab -- use designated initialization box/console: use tabs instead of spaces in consolelib box/console: rename format to format_yaml box/console: rename luaL_yaml_default to serializer_yaml box/console: implement lua serializer box/console: switch to new lua serializer test: extend console lua test src/box/CMakeLists.txt | 1 + src/box/lua/console.c | 111 ++- src/box/lua/console.lua | 80 +-- src/box/lua/serialize_lua.c | 1059 +++++++++++++++++++++++++++++ src/box/lua/serialize_lua.h | 67 ++ test/app-tap/console_lua.test.lua | 33 +- 6 files changed, 1280 insertions(+), 71 deletions(-) create mode 100644 src/box/lua/serialize_lua.c create mode 100644 src/box/lua/serialize_lua.h -- 2.26.2