Git Product home page Git Product logo

Comments (3)

PureFox48 avatar PureFox48 commented on June 11, 2024

Although I know that you have strong views and many ideas on how you'd like to see Wren develop, I didn't know that you had plans for an entirely new language. I couldn't find a repo for it on Github though I imagine you'll be creating one in due course so people can play around with it.

Anyway, I gather that Veery's parser is creating AST structures rather than emitting code directly as Wren's VM does at present. With the help of bits from the Wren repl and wrenalyzer, that has enabled you to create a Veery to Wren transpiler and transpilers for other languages may be on the cards in future.

If there were a transpiler to C or C++ (say), then that would be an exciting development as we'd then only be a step away from having an AOT native code compiler for Veeery/Wren!

Of the three features you mention, I can't say I'm bothered about the first though I would welcome character literals being added to Wren itself - either as a new primitive type or just as an alias for the corresponding codepoint. The third is probably too difficult and not worth the effort.

Incidentally, I see that you're maintaining the ornithological connection as Veery is a type of thrush :)

from wren.

mhermier avatar mhermier commented on June 11, 2024

Although I know that you have strong views and many ideas on how you'd like to see Wren develop, I didn't know that you had plans for an entirely new language. I couldn't find a repo for it on Github though I imagine you'll be creating one in due course so people can play around with it.

For now, I'm looking to see how much traction the idea can have. For me, veery is more a playground where I can put some idea I have and remove some of the frustrations I have with wren. While I want to be its own thing, it also serve as a test place to back port some of them to wren

Anyway, I gather that Veery's parser is creating AST structures rather than emitting code directly as Wren's VM does at present. With the help of bits from the Wren repl and wrenalyzer, that has enabled you to create a Veery to Wren transpiler and transpilers for other languages may be on the cards in future.

If there were a transpiler to C or C++ (say), then that would be an exciting development as we'd then only be a step away from having an AOT native code compiler for Veeery/Wren!

This is one of the future goals, but I think the code must be consolidated a lot first.

It can also be used as a tool to automagically produce the module boiler plate in a standardized way.

Of the three features you mention, I can't say I'm bothered about the first though I would welcome character literals being added to Wren itself - either as a new primitive type or just as an alias for the corresponding codepoint. The third is probably too difficult and not worth the effort.

Right now, Character is a class (unique instance per code point optimization). It doesn't interact greatly with string and hashes. But it is easier to convert a string[i] to a Character, than managing the "madness" of:

https://github.com/wren-lang/wren-cli/blob/18553636618a4d33f10af9b5ab92da6431784a8c/src/module/repl.wren#L408-L467

Incidentally, I see that you're maintaining the ornithological connection as Veery is a type of thrush :)

Don't tell anyone it is a secret ;) In addition, I found it short and funny because it also read as very XD so it sounds like a good choice.

from wren.

PureFox48 avatar PureFox48 commented on June 11, 2024

Don't tell anyone it is a secret ;) In addition, I found it short and funny because it also read as very XD so it sounds like a good choice.

Sorry if I've already let the cat out of the bag ;)

It is a good name and one that doesn't appear to have been used before for a programming language.

from wren.

Related Issues (20)

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.