Coder Social home page Coder Social logo

nmorse / pounce_v0 Goto Github PK

View Code? Open in Web Editor NEW
7.0 3.0 0.0 469 KB

v0 (discontinued development) of a new concatenative programming language that runs in the browser. see @pounce-lang for version 1+

Home Page: https://nmorse.github.io/pounce/js/try_pounce.html

License: MIT License

JavaScript 70.62% HTML 8.13% Python 16.23% CSS 0.42% C 4.59%
programming-language forth-like concatenative-language joy-language

pounce_v0's Issues

Word types and type checking

Word type declarations
parse or link time checking
implied types (duck typing? or fully resolved)

try Malpaux/fbp-types

UI for words! Visual Recursive Expansion, CRUD

Show the definition of words and facilitate recursive expansion..definition editing and deletion of words (remove from run time -- only for use in modules not part of the the run time execution)) and put in IDE.

import of dictionaries needs refactor of the runtime

Runtime will need to handle either a wordStack (current) with a object wrapper around word dictionaries --OR-- change to a dictionary of dictionaries format (e.g. {nameSpace:{word1:{}}}).

runtime.js needs to support an IDE that is debugging a running program and wants to know the current imported dictionaries (currently loaded) (i.e. runtime needs to expose wordStack or wordNameSpaces and the findWord function)

Wrap Pounce in JS closure

(self deprecating humor: currently pounce pollutes the global space like a cat w/out a cat box -- seriously dude that smells bad)

ask for confirmation before def define or un-def

only run def or define or un-def with a submit button or the Enter key to confirm the request.

OR only run def and define from the ui (not the language input box) for example maybe there should be a whole word dictionary UI that helps you find, use and define your words.

Cursor position (in Input Tag) -- executes Pounce only up to cursor

input tag (type="text") should respond to the placement of the cursor
FYI If possible add this feature in a way that allows a transition to a future change from the input tag to a graphical component that displays and allows edits to Pounce words, painted on a canvas or svg tag.

'C' interpreter

A 'C' or 'C++' Interpreter is needed to support IoT and embedded applications. Possibly use nim to generate C.

enforce 'expects' stack validation

When a word declares that it expects the stack to have a number of items of a certain type and possibly additional validation of the value, it should check the stack (when feature-flagged ON).
If it does not find what it was told to 'expect' it should throw errors (or fall through to a synonym word).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.