35694229ca
This change introduces a basic JavaScript SDK (actually in TypeScript, but consumable either way). This is just scaffolding but provides the minimal set of abstractions necessary to start writing real stacks.
14 lines
333 B
TypeScript
14 lines
333 B
TypeScript
// Copyright 2016 Marapongo, Inc. All rights reserved.
|
|
|
|
import { Context } from './context';
|
|
import { Stack } from './stack';
|
|
|
|
export abstract class Extension extends Stack {
|
|
constructor(ctx: Context) {
|
|
super(ctx);
|
|
}
|
|
|
|
// TODO: come up with a scheme for compile-time extensions; presumably an abstract virtual.
|
|
}
|
|
|