Skip to content

kaushalmodi/strfmt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fork

This repo is a fork of the original strfmt repo by lyro (Frank Fischer) at https://bitbucket.org/lyro/strfmt/.

I do not claim any authorship of this awesome project. I forked it because I am more comfortable with git than mercurial (which is used for the original repo), and I wanted to make this project work once again on Nim devel (2018-06-28).


Introduction

strfmt is a small string formatting library for the Nim programming language similar to Python’s =format=.

Installation

Original

To install the original strfmt, do:

nimble install strfmt

This fork

To install this forked version, do:

nimble install https://github.com/kaushalmodi/strfmt

Documentation

The module is described in this reference documentation.

The documentation is written in Org mode.

  • Pandoc is then used to convert Org to ReStructuredText.
  • nim doc is then used to generate the final HTML documentation that includes the documentation converted from Org and the doc-strings in strfmt.nim.

To generate this documentation locally, do nimble docs. You will find an index.html generated in the docs/ directory.

nimble docs Requirements

  • Pandoc 2.6

Development

To run the tests, clone this repo, cd to the repo directory and run:

nimble test

About

A string formatting module for Nim, inspired by Python's .format

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages