From 5c3b26d59343bcaa51690f960ed086786ba0b311 Mon Sep 17 00:00:00 2001 From: origel Date: Thu, 23 Jan 2020 21:58:04 +0800 Subject: [PATCH 1/2] translate to zh --- docs.html | 64 +++++++++++++--------------------------------- en.tr | 72 ++++++++++++++++++++++++++++++++++++++++++++++++++++ zh.tr | 76 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 165 insertions(+), 47 deletions(-) diff --git a/docs.html b/docs.html index 9575e5364..50d7cfa51 100644 --- a/docs.html +++ b/docs.html @@ -81,45 +81,34 @@ %decoding_json %testing %memory_management -Defer -ORM -vfmt +%defer +%orm +%vfmt %writing_documentation
-Advanced Topics +%advanced_topics

-Calling C functions from V -Compile time if -Reflection via codegen -Limited operator overloading -Inline assembly -Translating C/C++ to V -Hot code reloading -Cross compilation -Cross-platform shell scripts in V +%calling_c_func_from_v +%compile_time_if +%refl_via_codegen +%limited_operator_overloading +%inline_assembly +%trans_cxx_to_v +%hot_code_reloading +%cross_compile +%cross_scripts_in_v
-Appendix I: Keywords -Appendix II: Operators +%appd_1_keywords +%appd_2_operators

%introduction

-V is a statically typed compiled programming language designed for building maintainable software. - -

-It's similar to Go and is also influenced by Oberon, Rust, Swift. - -

-V is a very simple language. Going through this documentation will take you about half an hour, -and by the end of it you will learn pretty much the entire language. - -

-Despite being simple, it gives a lot of power to the developer. Anything you can do in other languages, -you can do in V. +%intro_details