Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

自作AltJS

NotificationsYou must be signed in to change notification settings

RIshimoto/COWJS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

概要

AltJS1の設計・実装を学ぶために制作した自作AltJS。
主にCOW2言語の文法を主体として設計。

スライド

https://github.com/RIshimoto/COWJS/blob/main/COWJS.pdf

デモ

COWJS_demo.mp4

実行手順

$ git clone https://github.com/RIshimoto/COWJS$ cd COWJS$ npm install $ npx pegjs -o parser.js grammer.pegjs$ node main.js (実行したいcowファイル).cow$ node src.js

実行環境

  • Oracle VM VirtualBox 6.1.X
  • Ubuntu Desktop 22.04.1 LTS
  • Node.js 16.17.0 LTS

Footnotes

  1. トランスパイルによりJavaScriptを生成する代替JavaScriptのこと。TypeScriptが有名。

  2. https://bigzaphod.github.io/COW/

About

自作AltJS

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp