Code Monkey home page Code Monkey logo

Comments (23)

UserUNP avatar UserUNP commented on June 17, 2024 2

hello sorry for the late reply i haven't looked at the repo page in a while.
that sounds like a neat idea, you could have a wrapper around sparkscript to make stuff like that
you're free to make whatever you want with sparkscript, as long as its not with malicious intent.

sparkscript will probably not be lightweight any time soon because i have to bundle the actiondump file with it to extract types and type intellisense for convenience.
and it would be almost done if not for the fact that DiamondFire has duplicate actions for separate codeblocks 😑

from sparkscript.

chadulous avatar chadulous commented on June 17, 2024 2

In that case you could really make
sspkg [name] run npm install sspkg-[name]

from sparkscript.

UserUNP avatar UserUNP commented on June 17, 2024

@mavthedev should probably send a mention..

from sparkscript.

UserUNP avatar UserUNP commented on June 17, 2024

talk to me on Discord because i'll have to close this issue

from sparkscript.

UserUNP avatar UserUNP commented on June 17, 2024

reopened for discussion

from sparkscript.

UserUNP avatar UserUNP commented on June 17, 2024

@GeorgeRNG @silvxrcat @mavthedev
you too @RedVortexDev

from sparkscript.

GeorgeRNG avatar GeorgeRNG commented on June 17, 2024

make it dfonline
I think we would have a system to authenticate users which I have tried to make with dfonline once, and I could see if I can get dfonline to have proper system for packages

from sparkscript.

qbjl avatar qbjl commented on June 17, 2024

so first off, the programming language itself is a large obstacle. we'll have to assign keywords and feed that into a tokenizer, then parse the output & make it stack oriented so that we can handle operations correctly. we should find a syntax we like.

from sparkscript.

qbjl avatar qbjl commented on June 17, 2024

make it dfonline I think we would have a system to authenticate users which I have tried to make with dfonline once, and I could see if I can get dfonline to have proper system for packages

if dfonline is what we're going to use to host the packages, that's perfectly fine, but i'm getting some errors loading a template.

from sparkscript.

qbjl avatar qbjl commented on June 17, 2024

we should make sure to give an error if the template fails to load

from sparkscript.

GeorgeRNG avatar GeorgeRNG commented on June 17, 2024

but i'm getting some errors loading a template.
where are you loading these templates? The backend for the site isn't the best to say the least, or is it something else?

from sparkscript.

RedVortexDev avatar RedVortexDev commented on June 17, 2024

Interesting, a programming lang for df with a pm stored on dfonline, truley the most epic collaboration of all

from sparkscript.

RedVortexDev avatar RedVortexDev commented on June 17, 2024

Though this could be of use: https://craftinginterpreters.com

from sparkscript.

RedVortexDev avatar RedVortexDev commented on June 17, 2024

A tutorial for making a programming language with tokenizers in java, pretty sure we all know Java

from sparkscript.

UserUNP avatar UserUNP commented on June 17, 2024

lets keep the topic about the package manager
the programming language is a bit out of scope

from sparkscript.

UserUNP avatar UserUNP commented on June 17, 2024

the package manager sounds like a pretty sick idea
being able to import library templates and having intellisense and autocomplete

as for defining the library templates themselves i have thought about that

from sparkscript.

chadulous avatar chadulous commented on June 17, 2024

the package manager sounds like a pretty sick idea

I tried to make a language with a package manager, I didnt really finish it bc I got bored, but it used supabase and gzipped the package files

being able to import library templates and having intellisense and autocomplete

That's way more work 🫤

from sparkscript.

chadulous avatar chadulous commented on June 17, 2024

pretty sure we all know Java

AHHEM 😬

from sparkscript.

chadulous avatar chadulous commented on June 17, 2024

Also there should be some sort of export keyword that is ignored at compile time but is used by the pm to check what should be accesible.

from sparkscript.

UserUNP avatar UserUNP commented on June 17, 2024

being able to import library templates and having intellisense and autocomplete

That's way more work 🫤

i was referring to sparkscript not the language
you could essentially do something along the lines of npx sspkg add library_name
and it would import the code for that library and in js do something like:

const df = require("sparkscript").uses("library_name");
const template = df("example", e => {
    e.action.someActionInTheLibrary(/* args */);
});

from sparkscript.

UserUNP avatar UserUNP commented on June 17, 2024

as for the language, idk

from sparkscript.

chadulous avatar chadulous commented on June 17, 2024

being able to import library templates and having intellisense and autocomplete

That's way more work 🫤

i was referring to sparkscript not the language

you could essentially do something along the lines of npx sspkg add library_name

Ahhh makes sense 👍🏾

from sparkscript.

UserUNP avatar UserUNP commented on June 17, 2024

i forgot to mention this but i will allow the ability to compile code from other languages such as Spark (till v2 comes out) and Kindling and Blackstone

from sparkscript.

Related Issues (2)

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.