>From now on, the experiments will tackle more practical issues and
will add completely new features to the language. There will be less
theory and more examples.

Experiment #7 - Data Formatters

A conversion between different data formats is a frequent operation
in many applications. Dunaj introduces the concept of data formatters
that formalizes the process of converting data from one format into
another.

A formatter is a collective name for Dunaj’s data parser and printer.
A parser converts information from its external or low level
representation (used for storage or communication) into form that is
of higher level of abstraction, and is better understood and supported
by the application. Printer does the opposite thing. Formatters are
not limited to parsing from/printing to strings, but are designed to
work with any type of data, even for binary decoding/encoding.

Goals of this experiment are as follows:

* Provide dedicated functions for parsing and printing that integrate
  well with the rest of the API, including transducers
* Provide protocols and helper functions for implementers of custom
  data formatters
* Make formatters efficient by utilizing available optimizations

You can read more about this experiment at http://www.dunaj.org 

Regards,
Jozef

On Thursday, March 5, 2015 at 10:33:53 PM UTC+1, Jozef Wagner wrote:
>
> I'm happy to announce a project called Dunaj [1], which provides an 
> alternative core API for Clojure. Its main aim is to experimentally test 
> major additions to the language. 
>
> Dunaj /ˈdunaɪ/ is a set of core language experiments aimed to improve 
> Clojure language and its core API. It deals with language features that 
> require changes across different parts of Clojure and which cannot be 
> evaluated in isolation. Dunaj aims to bring Clojure even more towards 
> simplicity, consistency and performance. 
> It is intended to be used by regular Clojure developers, either for 
> application or library development.
>
> Dunaj was created to test 10 experiments that bring significant changes to 
> the Clojure language. As there is a substantial number of additions and 
> changes, I want to try a bit unconventional approach here. Before I'll 
> release the actual library, I will introduce Dunaj's experiments in a 
> series of individual posts. Every part states the motivation behind the 
> experiment, introduces changes and additions to the language and 
> demonstrates its intended use. If you do not want to miss any of this, you 
> may want to register for a mailing list at [1] or follow @dunajproject at 
> Twitter.
>
> -- Jozef Wagner
>
> [1] http://www.dunaj.org/ 
>
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to