> For the complete documentation index, see [llms.txt](https://jmdash.gitbook.io/jmdash-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://jmdash.gitbook.io/jmdash-docs/jmbasics/syntax101.md).

# Syntax 101

**JM-**'s Syntax is characterized by the facts that it *mixes* 2 programming languages:\
**C** and **C++** and is also [*edgy af*](https://www.urbandictionary.com/define.php?term=edgy).

<figure><img src="/files/j0LmVAjhKTlIMupmhtMp" alt=""><figcaption><p>They omitted the "..and fucks a lot of stuff up while doing that"<br>(Source: <a href="https://github.com/maxwastakenyt/jmdash">JM-'s GitHub repository</a>)</p></figcaption></figure>

### The Incest Rule

The Incest Rule is a principle of **JM-**'s Syntax that reads:

*"Every function has the ability of using and creating other functions inside of its body to achieve its goal."*&#x20;

So technically speaking you could `#def`ine an empty function and use it as\
C-like languages' `main()`.\
\&#xNAN;**\*Important sidenote**: This *kinda* issue has been addressed in the [PIDD](/jmdash-docs/design-documents/the-post-idd.md).

<figure><img src="/files/tIO2Gdhlmf9P5nFTPOur" alt=""><figcaption><p>An example of The Incest Rule being applied to<br>create multiple nested or "incested" <code>con.out{}</code> functions</p></figcaption></figure>

### Important note

All of the informations regarding JM-'s Syntax that you will find in this documentation are based on the Initial Design Documents: [IDD](/jmdash-docs/design-documents/initdesidocu.md), [IDoLD](/jmdash-docs/design-documents/initial-design-of-libraries-document.md), [IDoEHD](/jmdash-docs/design-documents/initial-design-of-error-handling-document.md) and every other [Design Document](/jmdash-docs/design-documents/initdesidocu.md) like the [PIDD](/jmdash-docs/design-documents/the-post-idd.md) and their [revis](/jmdash-docs/design-documents/the-pidds-first-revision.md)[ions](/jmdash-docs/design-documents/the-pidds-second-revision.md)
