Git Product home page Git Product logo

Comments (16)

andrefpoliveira avatar andrefpoliveira commented on July 21, 2024 1

@prashanth-up thank you very much!

from pansy.

andrefpoliveira avatar andrefpoliveira commented on July 21, 2024 1

@UjwalKandi it would be awesome if you did that :)

from pansy.

punitsakre23 avatar punitsakre23 commented on July 21, 2024 1

I like to contribute and add some examples

from pansy.

prashanth-up avatar prashanth-up commented on July 21, 2024

Awesome Language you've made here. I was looking to contribute but I couldn't find how to run the .pansy file to check my outputs.
I tried running an if-else on CLI but line-breaks are not accounted well there.
Any suggestions how ?

from pansy.

andrefpoliveira avatar andrefpoliveira commented on July 21, 2024

Hey @prashanth-up! First of all, thank you very much for trying to contribute! 😁 it means a lot to me!
You are right, I have put the command in the middle of the others so it is not explicit. I will change that so it more visible!
The command should be: run("examples/.../code.pansy")

from pansy.

prashanth-up avatar prashanth-up commented on July 21, 2024

Worked like a charm. It was my bucket list item to create my own programming language too.πŸ˜„
Although It seems with improvement this parser could be very promising.
My code gives a Runtime Error: Argument must be a list when I try to return len("Pansy") which accepts a string.
Am I missing something here?

from pansy.

andrefpoliveira avatar andrefpoliveira commented on July 21, 2024

@prashanth-up it is very funny to make one :) I strongly advise it! Yeah. Currently I had it only to accept lists. But I can add string support aswell

from pansy.

prashanth-up avatar prashanth-up commented on July 21, 2024

Just going around Github and taking notes on how to make one.
Actually in your README it says len(arg) - Returns the length of the string arg I guess it's list instead of string

from pansy.

andrefpoliveira avatar andrefpoliveira commented on July 21, 2024

Ups my bad you are right!!

from pansy.

prashanth-up avatar prashanth-up commented on July 21, 2024

Seems accurate now, I'll send in a PR with some basic code Examples for Pansy around tomorrowπŸ˜„

from pansy.

UjwalKandi avatar UjwalKandi commented on July 21, 2024

Do we also have to edit the main README.md file in the examples folder that shows the list of examples?

from pansy.

Zaidtech avatar Zaidtech commented on July 21, 2024

@andrefpoliveira awesome language, can I also add some examples

from pansy.

andrefpoliveira avatar andrefpoliveira commented on July 21, 2024

@Zaidtech of course!!

from pansy.

FaizAlam avatar FaizAlam commented on July 21, 2024

@andrefpoliveira can I add some examples !!

from pansy.

andrefpoliveira avatar andrefpoliveira commented on July 21, 2024

@FaizAlam sure!! πŸ˜„

from pansy.

punitsakre23 avatar punitsakre23 commented on July 21, 2024

Done bro. Thanks

from pansy.

Related Issues (7)

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.