{"id":21675121,"url":"https://github.com/thaliaarchi/xmlang","last_synced_at":"2025-03-20T09:18:53.465Z","repository":{"id":144284027,"uuid":"136746413","full_name":"thaliaarchi/xmlang","owner":"thaliaarchi","description":"A functional programming language with XML syntax","archived":false,"fork":false,"pushed_at":"2018-07-25T01:37:57.000Z","size":11,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-25T10:08:37.788Z","etag":null,"topics":["functional-programming","programming-language"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thaliaarchi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-06-09T18:02:01.000Z","updated_at":"2023-12-03T22:11:55.000Z","dependencies_parsed_at":"2024-08-14T01:49:29.360Z","dependency_job_id":null,"html_url":"https://github.com/thaliaarchi/xmlang","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thaliaarchi%2Fxmlang","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thaliaarchi%2Fxmlang/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thaliaarchi%2Fxmlang/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thaliaarchi%2Fxmlang/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thaliaarchi","download_url":"https://codeload.github.com/thaliaarchi/xmlang/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244583159,"owners_count":20476233,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["functional-programming","programming-language"],"created_at":"2024-11-25T13:51:06.205Z","updated_at":"2025-03-20T09:18:53.440Z","avatar_url":"https://github.com/thaliaarchi.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# XMLang\n\nXMLang is a functional language with XML syntax.\n\n# Operators\n\n## Assignment\n\n| Op     | JS         | Description         |\n|--------|------------|---------------------|\n| `func` | `function` | Function            |\n\n## Arithmetic\n\n**Binary operators:**\n\n| Op     | JS   | Description    |\n|--------|------|----------------|\n| `add`  | `+`  | Addition       |\n| `sub`  | `-`  | Subtraction    |\n| `mul`  | `*`  | Multiplication |\n| `div`  | `/`  | Division       |\n| `mod`  | `%`  | Modulo         |\n| `expt` | `**` | Exponentiation |\n| `root` |      | Root           |\n\n**Unary operators:**\n\n| Op     | JS          | Description    |\n|--------|-------------|----------------|\n| `num`  | `+`         | Cast to number |\n| `neg`  | `-`         | Negation       |\n| `abs`  | `Math.abs`  | Absolute value |\n| `sin`  | `Math.sin`  | Sine           |\n| `cos`  | `Math.cos`  | Cosine         |\n| `tan`  | `Math.tan`  | Tangent        |\n| `asin` | `Math.asin` | Arc sine       |\n| `acos` | `Math.acos` | Arc cosine     |\n| `atan` | `Math.atan` | Arc tangent    |\n\n## Comparison\n\n| Op    | JS   | Description           |\n|-------|------|-----------------------|\n| `eq`  | `==` | Equal                 |\n| `neq` | `!=` | Not equal             |\n| `gt`  | `\u003e`  | Greater than          |\n| `lt`  | `\u003c`  | Less than             |\n| `gte` | `\u003e=` | Greater than or equal |\n| `lte` | `\u003c=` | Less than or equal    |\n\n## Logical\n\n| Op    | JS   | Description |\n|-------|------|-------------|\n| `not` | `!`  | Logical not |\n| `and` | `\u0026\u0026` | Logical and |\n| `or`  | `||` | Logical or  |\n\n## Conditional\n\n| Op     | JS       | Description  |\n|--------|----------|--------------|\n| `if`   | `? :`    | If statement |\n| `cond` | `switch` | Conditional  |\n| `case` | `case`   | Case         |\n\n## Comma\n\n,\ncomma operator\n\n## Bitwise\n\n| Op     | JS   | Description  |\n|--------|------|--------------|\n| `band` | `\u0026`  | Bitwise and  |\n| `bor`  | `|`  | Bitwise or   |\n| `xor`  | `^`  | Exclusive or |\n| `comp` | `~`  | Complement   |\n| `lsh`  | `\u003c\u003c` | Left shift   |\n| `rsh`  | `\u003e\u003e` | Right shift  |\n\n# Data Types\n\nList, map, set\n\nEach, map\n\n# Utilities\n\n| Func    | JS            | Description |\n|---------|---------------|-------------|\n| `print` | `console.log` | Print       |\n\n# Credit\n\nCredit to [Robert Prehn's article at Revelry](https://revelry.co/using-jsx-with-other-frameworks-than-react/) for the idea of this language.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthaliaarchi%2Fxmlang","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthaliaarchi%2Fxmlang","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthaliaarchi%2Fxmlang/lists"}