• Stars
    star
    155
  • Rank 233,347 (Top 5 %)
  • Language
    Rust
  • License
    MIT License
  • Created over 5 years ago
  • Updated about 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Bahasa pemrograman dengan sintaks Bahasa Indonesia (Programming language with Indonesian syntax) 🇮🇩

naskah Actions Status

Bahasa pemrograman dengan sintaks Bahasa Indonesia

Demo: https://naskah.vercel.app/

Tipe data

Saat ini hanya 4 tipe data yang didukung oleh naskah:

  • angka 123
  • huruf "hello"
  • boolean benar / salah
  • kosong kosong

Operator

Operasi yang didukung oleh naskah adalah:

  • Penjumlahan +
  • Pengurangan -
  • Perkalian *
  • Pembagian \
  • Sisa pembagian %
  • Pangkat ^

Selain itu ada juga operasi untuk membandingkan dua variabel / tipe data

  • Sama dengan ==
  • Tidak sama dengan !=
  • Lebih dari >
  • Kurang dari <

Sintaks

Deklarasi variabel

misal x = 4;
misal y = x;

Percabangan

jika x == 2 {

}

jika x == kosong {

}

Untuk kasus-kasus umum, naskah menyediakan sintaks khusus untuk pengecekan terhadap kosong, benar dan salah. Tidak perlu menulis operator ==, cukup x kosong.

jika x kosong {

}

Perulangan

Naskah saat ini hanya mempunyai 1 tipe perulangan yang tidak pernah berhenti

ulang {

}

Untuk berhenti di dalam perulangan, dapat menggunakan sintaks berhenti;

ulang {
  jika x > 2 {
    berhenti;
  }
}

Lisensi

Bahasa pemrograman Naskah terlisensi dibawah lisensi MIT.

More Repositories

1

htmr

Simple and lightweight (< 2kB) HTML string to React element conversion library
TypeScript
519
star
2

use-less

React hooks that help you do what you already did, with more indirection
TypeScript
150
star
3

raw.macro

Read file contents at build time via babel-plugin-macros or SWC plugin.
JavaScript
149
star
4

katla

Indonesian version of Wordle
TypeScript
136
star
5

indihmm

Indihome real time twitter rant dashboard
TypeScript
68
star
6

aperture

Color theme for VSCode to help you focus
67
star
7

theme-in-css

Type-safe CSS custom properties (CSS variables) for theming purpose
TypeScript
65
star
8

vite-plugin-sloth

Fresh take on static site generation, using HTML-first approach to build website. Powered by ⚡️ Vite
HTML
44
star
9

oge

Page metadata as a service
HTML
26
star
10

atom-snazzy-clear-syntax

Modern, elegant, clean and consistent Atom syntax theme
CSS
13
star
11

asset-graph-webpack-plugin

Webpack plugin to easily get assets dependency graph based on entry point
JavaScript
13
star
12

smartass

Test your javascript knowledge
JavaScript
12
star
13

paper-editor

Medium editor clone, extracted from pveyes/paper
JavaScript
8
star
14

text-fragments

Text Fragments and Selection utilities
JavaScript
8
star
15

vcb

Multi-User, Multi-Room Video Streaming using WebRTC and Websocket
JavaScript
5
star
16

scarecrow

Tanifund scraper & notification service leveraging GitHub Actions Scheduling Workflow
JavaScript
5
star
17

octopub

GitHub public data as a service
Rust
4
star
18

makna

JavaScript
3
star
19

slack-robot-state

slack-robot plugin to enable state management
JavaScript
3
star
20

imstore

Immutable in memory key-value store
JavaScript
2
star
21

pveyes

2
star
22

jest-multi-project-monorepo-coverage-bug

A small repro step for https://github.com/facebook/jest/issues/9323
JavaScript
1
star
23

glg

Git log parser for easier analysis
JavaScript
1
star
24

byzantine

Istanbul json coverage parser
JavaScript
1
star
25

next.js-i18n-app-pages-hybrid

Reproduction case for routing issue in app/pages hybrid with i18n config
TypeScript
1
star
26

localhost

dotfiles, editor config, notes, and other development setup
Shell
1
star
27

talks

Tech talks & slides
JavaScript
1
star
28

next-swc-ssg-code-elimination

JavaScript
1
star