{"id":26071,"library":"paww","title":"Paw Language","description":"Paw is a simple JavaScript transpiler and runner that uses Indonesian-flavored syntax, allowing developers to write code in Bahasa Indonesia. Version 1.1.20 is the current stable release, updated sporadically. It differentiates itself by offering a localized programming experience for Indonesian speakers, translating keywords like 'if' to 'jika' and 'function' to 'fungsi'. It targets Node.js and is primarily a CLI tool.","status":"active","version":"1.1.20","language":"javascript","source_language":"en","source_url":null,"tags":["javascript","paw","language","transpiler","indonesia"],"install":[{"cmd":"npm install paww","lang":"bash","label":"npm"},{"cmd":"yarn add paww","lang":"bash","label":"yarn"},{"cmd":"pnpm add paww","lang":"bash","label":"pnpm"}],"dependencies":[],"imports":[{"note":"ESM-only package; no CommonJS support.","wrong":"const paww = require('paww')","symbol":"paww","correct":"import paww from 'paww'"},{"note":"Named export available for programmatic use.","wrong":"const { PawRunner } = require('paww')","symbol":"PawRunner","correct":"import { PawRunner } from 'paww'"},{"note":"Used for transpiling Paw code to JavaScript.","wrong":"","symbol":"PawCompiler","correct":"import { PawCompiler } from 'paww'"}],"quickstart":{"code":"// Install globally: npm install -g paww\n// Create a file hello.paw with:\n// cetak(\"Halo Dunia!\")\n// Run: paww hello.paw\n\n// Or programmatic usage:\nimport { PawCompiler } from 'paww';\nconst compiler = new PawCompiler();\nconst jsCode = compiler.compile('cetak(\"Halo Dunia!\")');\nconsole.log(jsCode); // console.log(\"Halo Dunia!\");","lang":"typescript","description":"Shows how to install the CLI globally, run a Paw file, and use the compiler programmatically."},"warnings":[{"fix":"Stay updated with the repository.","message":"Some keywords may change in future versions; check changelog.","severity":"deprecated","affected_versions":">=1.1.0"},{"fix":"Use simple syntax and report issues.","message":"Paw code is transpiled line-by-line; complex nested structures may fail.","severity":"gotcha","affected_versions":">=1.0.0"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Run 'npm install -g paww' and ensure npm global bin is in PATH.","cause":"Global install missing or not in PATH.","error":"paww: command not found"},{"fix":"Check Paw syntax; e.g., use 'cetak' not 'print'.","cause":"Paw syntax error in source file.","error":"SyntaxError: Unexpected token"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}