> 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

Only way to understand that syntax, actually.

**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="https://560939383-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFHN1z3VqR1ZzKSMrPQF7%2Fuploads%2F48wdA0MvfF9uDew0WA7f%2Fimage.png?alt=media&amp;token=5ceee8a9-dfef-41c2-b7ca-22cebb3314a4" 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()`.\
**\*Important sidenote**: This *kinda* issue has been addressed in the [PIDD](/jmdash-docs/design-documents/the-post-idd.md).

<figure><img src="https://560939383-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFHN1z3VqR1ZzKSMrPQF7%2Fuploads%2FXWzibJ7AnLUAtMxpGcsf%2Fimage.png?alt=media&amp;token=996cbde1-9db2-4d2d-b584-cb448dad8904" 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)
