MCPcopy Create free account
hub / github.com/abaplint/transpiler

github.com/abaplint/transpiler @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
2,005 symbols 6,340 edges 753 files 13 documented · 1% ● updated 5d ago★ 128121 open issues

Browse by type

⨍ Functions 1,239◇ Types & classes 766
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

transpiler

npm (scoped) npm (scoped) npm (scoped) CI

Input is checked against the abaplint "Open ABAP" syntax version, which covers most modern ABAP statements and expressions, check https://syntax.abaplint.org for compatibility.

Output is JavaScript ES modules, ES2022 or later, it uses top-level await

Playground: https://transpiler.abaplint.org

Connecting to a database is optional, currently the following databases have drivers: * SQLite via @abaplint/database-sqlite * PostgreSQL via @abaplint/database-pg * Snowflake via @abaplint/database-snowflake

Reuse library

https://open-abap.org

Examples

Technical

  • SY-SYSID = ABC
  • SY-MANDT = 123
  • Open SQL is not client aware: no MANDT = SY-MANDT predicate is added, and INSERT/UPDATE/DELETE reach every client. A SELECT from a client-dependent table returns the rows of all clients, so data captured from a system with more than one client gives more rows than the same statement gives there. See #606; run a separate database per client if you need the isolation
  • Fixed point arithmetic is always enabled
  • Encoding = UCS-2
  • Time zone = UTC

Development

Prerequisites: Node.js 22+

For testing locally run npm run install && npm test

Extension points exported contracts — how you extend this code

browse all types & interfaces →

Core symbols most depended-on inside this repo

browse all functions →

Shape

Method 864
Class 700
Function 375
Interface 62
Enum 4

Languages

TypeScript100%

Modules by API surface

packages/runtime/src/types/table.ts67 symbols
packages/transpiler/src/traversal.ts56 symbols
packages/runtime/src/types/field_symbol.ts19 symbols
packages/runtime/src/db/db.ts18 symbols
packages/database-sqlite/src/index.ts18 symbols
packages/database-pg/src/index.ts17 symbols
packages/runtime/src/types/structure.ts16 symbols
packages/runtime/src/statements/index.ts16 symbols
packages/database-snowflake/src/index.ts16 symbols
packages/runtime/src/types/data_reference.ts15 symbols
packages/transpiler/src/types.ts14 symbols
packages/runtime/src/types/character.ts14 symbols

For agents

$ claude mcp add transpiler \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page