A C Implementation of Amazon Ion.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.github Adding standard files Mar 13, 2018
decNumber Adds decimal32.c to decNumber library build. Feb 9, 2018
ion-tests @ 20bc2a6 Fixes a lexing bug that caused lookahead to fail after a partial keyw… Jul 5, 2018
ionc Inverts tid_*_INT and tid_* declarations to enable switch statements … Jul 10, 2018
test Fixes a lexing bug that caused lookahead to fail after a partial keyw… Jul 5, 2018
tools Inverts tid_*_INT and tid_* declarations to enable switch statements … Jul 10, 2018
.appveyor.yml Removes inline specifiers for functions used across compilation units… May 25, 2018
.gitignore Implements a command line interface. (#94) Apr 12, 2018
.gitmodules Implements a command line interface. (#94) Apr 12, 2018
.travis.yml Removes inline specifiers for functions used across compilation units… May 25, 2018
CMakeLists.txt Implements fully arbitrary decimal precision through new ION_DECIMAL … Nov 30, 2017
CODE_OF_CONDUCT.md Adding standard files Mar 13, 2018
CONTRIBUTING.md Adding standard files Mar 13, 2018
IonCConfig.cmake Updates cmake config to support exporting ionc libraries. Aug 17, 2017
LICENSE Initial public commit Jun 27, 2016
NOTICE
README.md Updates README.md to include AppVeyor build status badge. Oct 3, 2018
build-debug.sh Adding basic framework for unit tests (#24) Jul 13, 2016
build-release.sh Adding basic framework for unit tests (#24) Jul 13, 2016
debug-tests.sh Adding basic framework for unit tests (#24) Jul 13, 2016

README.md

Amazon Ion C

A C implementation of the Ion data notation.

Build Status Build status

Setup

This repository contains a git submodule called ion-tests, which holds test data used by ion-c's unit tests.

The easiest way to clone the ion-c repository and initialize its ion-tests submodule is to run the following command.

$ git clone --recursive https://github.com/amzn/ion-c.git ion-c

Alternatively, the submodule may be initialized independently from the clone by running the following commands.

$ git submodule init
$ git submodule update

The submodule points to the tip of the branch of the ion-tests repository specified in ion-c's .gitmodules file.

Pulling in Upstream Changes

To pull upstream changes into ion-c, start with a simple git pull. This will pull in any changes to ion-c itself (including any changes to its .gitmodules file), but not any changes to the ion-tests submodule. To make sure the submodule is up-to-date, use the following command.

$ git submodule update --remote

This will fetch and update the ion-tests submodule from the ion-tests branch currently specified in the .gitmodules file.

For detailed walkthroughs of git submodule usage, see the Git Tools documentation.

Using the Library

Ion cookbook for C coming soon!