<commit_before>less.php
========

The **dynamic** stylesheet language.

<http://lesscss.org>

about
-----

This is a PHP port of the official JavaScript version of LESS <http://lesscss.org>.

Most of the code structure remains the same, which should allow for fairly easy updates in the future. That does
mean this library requires PHP5.3 as it makes heavy use of namespaces, anonymous functions and the shorthand ternary
operator - `?:` (to replicate the way Javascript will return the value of the first valid operand when using  `||`).

A couple of things have been omitted from this initial version:

- Evaluation of JavaScript expressions within back-ticks (for obvious reasons).
- Definition of custom functions - will be added to the `\Less\Environment` class.
- A tidy up of the API is needed.

use
---

```php
$parser = new \Less\Parser();
// parse css from a less source file
$css = $parser->parseFile($path);
// or directly from a string
$css = $parser->parse("@color: #4D926F; #header { color: @color; } h2 { color: @color; }");
```

license
-------

See `LICENSE` file.<commit_msg>Updated README.<commit_after>less.php
========

The **dynamic** stylesheet language.

<http://lesscss.org>

about
-----

This is a PHP port of the official JavaScript version of LESS <http://lesscss.org>.

Most of the code structure remains the same, which should allow for fairly easy updates in the future. That does
mean this library requires PHP5.3 as it makes heavy use of namespaces, anonymous functions and the shorthand ternary
operator - `?:` (to replicate the way Javascript will return the value of the first valid operand when using  `||`).

A couple of things have been omitted from this initial version:

- Evaluation of JavaScript expressions within back-ticks (for obvious reasons).
- Definition of custom functions - will be added to the `\Less\Environment` class.
- A tidy up of the API is needed.

use
---

```php
<?php
$parser = new \Less\Parser();
// parse css from a less source file
$css = $parser->parseFile($path);
// or directly from a string
$css = $parser->parse("@color: #4D926F; #header { color: @color; } h2 { color: @color; }");
```

license
-------

See `LICENSE` file.
{'fraction_non_alphanumeric': 0.1197632058287796, 'fraction_numerical': 0.006375227686703097, 'mean_word_length': 3.83920704845815, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 11, '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': '6354922', 'n_tokens_mistral': 629, 'n_tokens_neox': 608, 'n_words': 293}