Giter VIP home page Giter VIP logo

s-expression's Introduction

Hello there πŸ‘‹

The web has had me in its clutches for almost two decades by now. Most of that time I have worked for agencies that weren't that keen on open source, so don't expect a ton of repositories here.

Some hot takes to keep you entertained:

🀑 Your JS app is not morally superior because you have a 3 minute compile-run loop.

πŸš€ PHP will still dominate the web when you wipe your grandkids' arses.

πŸ‘€ Don't build a distributed system if you have a monolithic organisation.

s-expression's People

Contributors

anko avatar apaleslimghost avatar fwg 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

s-expression's Issues

String literals

How to make the same behaviour for " and '.
In my case I need " ΠΈ ' to be parsed into String objects

Support comments in s-expressions

Support for comments would be a nice addition.

Common lisp, scheme and clojure all use semicolon as a single line comment character:

(1 ; this is ignored
2 3)

Everything from the semicolon to the end of the line is ignored.

There's also a less used block comment convention that looks like #|... |#

Thanks!

Parse stops before end of string

The parser appears to stop as soon as it finds a valid s-expression, and doesn't continue to the end of the string to find potential errors. So, for example

Parse = require('s-expression');
console.log(new Parse("())"));

Will result in the s-expression [], when I would expect it to give an error. Same early termination behavior for e.g. ()abc or ((a) b)), which I would also expect to be errors.

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.