Coder Social home page Coder Social logo

thvnx / vss Goto Github PK

View Code? Open in Web Editor NEW

This project forked from adacore/vss

0.0 2.0 0.0 2.17 MB

High level string and text processing library

License: Other

Dockerfile 0.01% Makefile 0.09% Ada 99.78% Shell 0.02% Qt Script 0.02% XSLT 0.03% Python 0.05%

vss's Introduction

VSS

Build codecov alire

A high level string and text processing library.

The objectives

The objectives of this project are

  • To introduce a definite type that represents a string of Unicode characters and provides a handy set of operations.
  • The API should be encoding independent and allows efficient implementations depending on platform/application and avoid extra encoding conversions, e.g. an UTF-8 internal representation for Gtk+ applications, UCS-2 for native Windows applications and UTF-16 for WebAssembly.
  • Besides separating string API from in-memory data representation, it should separate string API from input/output stream representation.
  • To provide a clear, well-defined semantic for iteration over string elements, such as unicode unit, grapheme cluster, etc.
  • To avoid string element integer indexes, because this isn't necessarily constant time and could mislead about indexed element kind.
  • To prefer safe results over raising exceptions where possible.

Warning: This is experimental work in progress, everything is subject to change. It may be or may be not part of GNATCOLL or standard Ada library in the future.

Note: Some Ada 2020 features are used in source code. This requires compiler that supports them.

Install

Build from sources

Prefered way to install is to download sources and run

make all install PREFIX=/path/to/install

Using alire

Or you can use alire library manager:

alr get --build vss

Then you can use it as dependency in the project file:

with "vss_text.gpr";

For use JSON streaming API:

with "vss_json.gpr";

Documentation

Maintainers

@AdaCore.

Contribute

Feel free to dive in! Open an issue or submit PRs.

License

GPL-3 with GCC runtime library exception.

vss's People

Contributors

godunko avatar reznikmm avatar setton avatar fabien-chouteau avatar joeldiasmarques avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.