<commit_before>
# Language Reference

## General Constructs

The general language constructs originate from python, infact standard compliant python is used. There are a few constraints namely
within a BUILDENV file builtin functions are disabled to help guarantee the portabillity to the file.

```
# Language built-in for dictionaries
d = {"a": 2, "b": 5}
e = d["a"]

# Language built-in for lists
x = [1, 2, 3]
x = [1, 2] + [3, 4]

# Language built-in for sets
s = set([1, 2])
s = s | set([4, 5])
```

## Options

Declares an option the options can be overriden on the command-line and they can also be reflected. You can use serpent._options
to retrieve the value of a option.

```
# Declares an option that can be set on the command line
serpent.option(
   trigger     = "python-sdk",<commit_msg>Update LANGUAGE.md<commit_after>
# Language Reference

## General Constructs

The general language constructs originate from python, infact standard compliant python is used. There are a few constraints namely
within a BUILDENV file builtin functions are disabled to help guarantee the portabillity to the file.

```
# Language built-in for dictionaries
d = {"a": 2, "b": 5}
e = d["a"]

# Language built-in for lists
x = [1, 2, 3]
x = [1, 2] + [3, 4]

# Language built-in for sets
s = set([1, 2])
s = s | set([4, 5])

# Framework built-in for path prefix
serpent.join('main.cpp','hello.cpp', 'world.cpp', workingdir='sample')
```

## Options

Declares an option the options can be overriden on the command-line and they can also be reflected. You can use serpent._options
to retrieve the value of a option.

```
# Declares an option that can be set on the command line
serpent.option(
   trigger     = "python-sdk",
{'fraction_non_alphanumeric': 0.10431235431235432, 'fraction_numerical': 0.015151515151515152, 'mean_word_length': 4.02046783625731, 'pattern_counts': {'":': 4, '<': 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': '702580', 'n_tokens_mistral': 554, 'n_tokens_neox': 518, 'n_words': 244}