Giter Club home page Giter Club logo

psi's People

Contributors

komninoschatzipapas avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

psi's Issues

Dependabot can't resolve your JavaScript dependency files

Dependabot can't resolve your JavaScript dependency files.

As a result, Dependabot couldn't update your dependencies.

The error Dependabot encountered was:

Error whilst updating tslib in /modules/psi/package-lock.json:
404 Not Found - GET https://registry.npmjs.org/semantic-analyzer - Not found

If you think the above is an error on Dependabot's side please don't hesitate to get in touch - we'll do whatever we can to fix it.

View the update logs.

Separate program and user errors

There are two kinds of errors:

  1. User errors: Thrown when a user(programmer) provides invalid code. For example, forgetting a semi colon between statements.
  2. Program errors: Thrown when something in the actual interpreter program goes wrong. For example reaching a clause that shouldn't be reached.

In the current implementation there is no separation between these two kinds of errors. For user errors, a PSIError is always thrown but for program errors, sometimes a PSIError and sometimes an Error is thrown.

Modify the error module and related modules so a PSIError can always be thrown and add separation.

Also modify the psi module so correct error messages are displayed.

Infinite procedure arguments

Modify the type system to allow for a procedure declaration to have infinite arguments.

Then modify the Write and WriteLn procedures to be able to print infinite arguments.

Dependabot can't resolve your JavaScript dependency files

Dependabot can't resolve your JavaScript dependency files.

As a result, Dependabot couldn't update your dependencies.

The error Dependabot encountered was:

Error whilst updating mocha in /modules/psi/package-lock.json:
404 Not Found - GET https://registry.npmjs.org/semantic-analyzer - Not found

If you think the above is an error on Dependabot's side please don't hesitate to get in touch - we'll do whatever we can to fix it.

View the update logs.

Add Continue, Break to loops

Add Continue and Break statement support on loops.

The Continue statement skips to the next iteration while the Break one stops the loop and continues code execution.

Continue and Break Tokens have to be created, Lexer and Parser support has to be added and the Interpreter should be modified to execute the statements correctly.

Remove data-types dependency from parser

There is a dependency of data-types on the parser module that needs to be removed.

Only the Boolean data type is used once on Parser.for when creating an instance of AST.ForAST.

Replace the data-types Boolean with a regular Javascript boolean and remove data-types as a dependency from the package.json file. Also change any relevant files so the program compiles.

Dependabot can't resolve your JavaScript dependency files

Dependabot can't resolve your JavaScript dependency files.

As a result, Dependabot couldn't update your dependencies.

The error Dependabot encountered was:

Error whilst updating @oclif/command in /modules/psi/package-lock.json:
404 Not Found - GET https://registry.npmjs.org/semantic-analyzer - Not found

If you think the above is an error on Dependabot's side please don't hesitate to get in touch - we'll do whatever we can to fix it.

View the update logs.

Dependabot can't resolve your JavaScript dependency files

Dependabot can't resolve your JavaScript dependency files.

As a result, Dependabot couldn't update your dependencies.

The error Dependabot encountered was:

Error whilst updating @types/mocha in /modules/psi/package-lock.json:
404 Not Found - GET https://registry.npmjs.org/semantic-analyzer - Not found

If you think the above is an error on Dependabot's side please don't hesitate to get in touch - we'll do whatever we can to fix it.

View the update logs.

Support recursion on procedures

In the current implementation, attempting to recursively call a procedure results in an unhandled program error.

Change the Interpreter and Symbol packages to allow procedure recursion.

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.