├── .gitignore ├── README.md ├── package.json ├── public ├── favicon.ico ├── index.html ├── logo192.png ├── logo512.png ├── manifest.json └── robots.txt ├── src ├── application.css ├── application.tsx ├── asm_tab.tsx ├── compiler │ ├── compiler.ts │ ├── wasm.ts │ └── x64.ts ├── components │ ├── inline_dropdown.css │ └── inline_dropdown.tsx ├── context │ └── dismiss_context.tsx ├── editor.tsx ├── editor_handler.ts ├── examples │ ├── examples.ts │ ├── largest_prime_factor.rvr │ ├── multiples_of_3_or_5.rvr │ └── sum_of_even_fibonacci.rvr ├── index.css ├── index.tsx ├── logo.svg ├── macro_editor.tsx ├── macros │ ├── bool.rvr │ ├── expr.rvr │ ├── for.rvr │ ├── if.rvr │ └── macros.ts ├── parse.ts ├── preprocess.ts ├── react-app-env.d.ts ├── reportWebVitals.ts ├── validate.ts └── vm.ts ├── tsconfig.json └── yarn.lock /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nicbarker/river/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nicbarker/river/HEAD/README.md -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nicbarker/river/HEAD/package.json -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nicbarker/river/HEAD/public/favicon.ico -------------------------------------------------------------------------------- /public/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nicbarker/river/HEAD/public/index.html -------------------------------------------------------------------------------- /public/logo192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nicbarker/river/HEAD/public/logo192.png -------------------------------------------------------------------------------- /public/logo512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nicbarker/river/HEAD/public/logo512.png -------------------------------------------------------------------------------- /public/manifest.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nicbarker/river/HEAD/public/manifest.json -------------------------------------------------------------------------------- /public/robots.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nicbarker/river/HEAD/public/robots.txt -------------------------------------------------------------------------------- /src/application.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nicbarker/river/HEAD/src/application.css -------------------------------------------------------------------------------- /src/application.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nicbarker/river/HEAD/src/application.tsx -------------------------------------------------------------------------------- /src/asm_tab.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nicbarker/river/HEAD/src/asm_tab.tsx -------------------------------------------------------------------------------- /src/compiler/compiler.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nicbarker/river/HEAD/src/compiler/compiler.ts -------------------------------------------------------------------------------- /src/compiler/wasm.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nicbarker/river/HEAD/src/compiler/wasm.ts -------------------------------------------------------------------------------- /src/compiler/x64.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nicbarker/river/HEAD/src/compiler/x64.ts -------------------------------------------------------------------------------- /src/components/inline_dropdown.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nicbarker/river/HEAD/src/components/inline_dropdown.css -------------------------------------------------------------------------------- /src/components/inline_dropdown.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nicbarker/river/HEAD/src/components/inline_dropdown.tsx -------------------------------------------------------------------------------- /src/context/dismiss_context.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nicbarker/river/HEAD/src/context/dismiss_context.tsx -------------------------------------------------------------------------------- /src/editor.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nicbarker/river/HEAD/src/editor.tsx -------------------------------------------------------------------------------- /src/editor_handler.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nicbarker/river/HEAD/src/editor_handler.ts -------------------------------------------------------------------------------- /src/examples/examples.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nicbarker/river/HEAD/src/examples/examples.ts -------------------------------------------------------------------------------- /src/examples/largest_prime_factor.rvr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nicbarker/river/HEAD/src/examples/largest_prime_factor.rvr -------------------------------------------------------------------------------- /src/examples/multiples_of_3_or_5.rvr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nicbarker/river/HEAD/src/examples/multiples_of_3_or_5.rvr -------------------------------------------------------------------------------- /src/examples/sum_of_even_fibonacci.rvr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nicbarker/river/HEAD/src/examples/sum_of_even_fibonacci.rvr -------------------------------------------------------------------------------- /src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nicbarker/river/HEAD/src/index.css -------------------------------------------------------------------------------- /src/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nicbarker/river/HEAD/src/index.tsx -------------------------------------------------------------------------------- /src/logo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nicbarker/river/HEAD/src/logo.svg -------------------------------------------------------------------------------- /src/macro_editor.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nicbarker/river/HEAD/src/macro_editor.tsx -------------------------------------------------------------------------------- /src/macros/bool.rvr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nicbarker/river/HEAD/src/macros/bool.rvr -------------------------------------------------------------------------------- /src/macros/expr.rvr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nicbarker/river/HEAD/src/macros/expr.rvr -------------------------------------------------------------------------------- /src/macros/for.rvr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nicbarker/river/HEAD/src/macros/for.rvr -------------------------------------------------------------------------------- /src/macros/if.rvr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nicbarker/river/HEAD/src/macros/if.rvr -------------------------------------------------------------------------------- /src/macros/macros.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nicbarker/river/HEAD/src/macros/macros.ts -------------------------------------------------------------------------------- /src/parse.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nicbarker/river/HEAD/src/parse.ts -------------------------------------------------------------------------------- /src/preprocess.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nicbarker/river/HEAD/src/preprocess.ts -------------------------------------------------------------------------------- /src/react-app-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /src/reportWebVitals.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nicbarker/river/HEAD/src/reportWebVitals.ts -------------------------------------------------------------------------------- /src/validate.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nicbarker/river/HEAD/src/validate.ts -------------------------------------------------------------------------------- /src/vm.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nicbarker/river/HEAD/src/vm.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nicbarker/river/HEAD/tsconfig.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nicbarker/river/HEAD/yarn.lock --------------------------------------------------------------------------------