<commit_before>#OL Language

OL is "One Line". So it is very simple and easy to use.

OL is designed to get value from a tree. It regards a tree as an object and use a serial of "." to get value like javascript. And it use a same way as LISP to describe function just like `(function-name param...)`. So, OL can also be called "Object LISP".

##Lexical

+ _delimiter_ = ~|!|@|^|(|)|{|}|,|.
+ _string_ = [^#_delimiter_]+
+ _number_ = #_string_(._string_)?

___NOTE___:

+ _number_ is only a string start by "#" and can contain "."
+ SPACE before a string is ignored, but in a string is not.
##Syntax

+ _value_ → _literal_|_path_|_function_|_negative_
+ _literal_ → ___number___|___string___
+ _path_ → (^|@|~)[._key_]
+ _key_ → _string_|_function_|_fragment_
+ _fragment_ → __{__*path*__}__
+ _function_ → __(__*value*[,*value*]__)__<commit_msg>change format<commit_after>#OL Language

OL is "One Line". So it is very simple and easy to use.

OL is designed to get value from a tree. It regards a tree as an object and use a serial of "." to get value like javascript. And it use a same way as LISP to describe function just like `(function-name param...)`. So, OL can also be called "Object LISP".

##Lexical

+ _delimiter_ = ~|!|@|^|(|)|{|}|,|.
+ _string_ = [^#_delimiter_]+
+ _number_ = #_string_(._string_)?

___NOTE___:

+ _number_ is only a string start by "#" and can contain "."
+ SPACE before a string is ignored, but in a string is not.

##Syntax

* _value_ → _literal_|_path_|_function_|_negative_
* _literal_ → ___number___|___string___
+ _path_ → (^|@|~)[._key_]
+ _key_ → _string_|_function_|_fragment_
+ _fragment_ → __{__*path*__}__
+ _function_ → __(__*value*[,*value*]__)__
{'fraction_non_alphanumeric': 0.13837965700768776, 'fraction_numerical': 0.0, 'mean_word_length': 4.511400651465798, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3643975', 'n_tokens_mistral': 613, 'n_tokens_neox': 580, 'n_words': 224}