Xen text, a new language born on glitch!


zen text, is a brand new language, that is being specifically built for easier use of the console, currently it supports, more things than we can list!


updates

  • cleared up some stuff at top
  • updates section cleared
  • language respective commands ( ex: @:n for nodejs ) are in the works! but not on original project due to major issues, until the original xent project gets unsuspended, there will be a list of hastebins for the updates!

coming soon

  • language respective commands
  • json addon
  • process addon
  • ability to make addons

docs

8 Likes

I see you used python to create the lexer, good work!

i would have used nodejs, or c++, which most likely will be coming up soon, so it stays with the standard of new languages.

could you teach me how to make a coding language based on python?

or at least how to use this. thanks :slight_smile:

have you tried ANTLR for a lexer?, its located here https://www.antlr.org/download.html

i have, i failed miserably …

i tried, couldn’t install and CLI didnt work

Does it support input?

Hello,
Can you tell me what’s the advantages of using your language? Why I would prefer it if I had a choice between, for instance, Java and C? Is it actually a worldwide project or you’ve been creating it just for educational purposes?

1 Like

Seems like a good start, it can help people like me get a headstart on creating a language

1 Like

Do you mind if I put a creative commons license on the work?

1 Like

Why you guys need an ‘yet_another_programming_language’?

1 Like

I need yet another language so we at protech IT solutions can experiment and help others code in languages they recognise than teaching them a language that takes ages to set up or install, when we can just run it in one command

Check out protech’s team- https://glitch.com/@pro-tech

1 Like

I’m in the process of creating some documentation

It is located:

Code: https://glitch.com/edit/#!/xendocs
App: https://xendocs.glitch.me

1 Like

thank you!

the purpose of xent ( nicked it already :wink: ) is to provide an easier time debugging, logging, and running commands, it will soon allow break points, as soon as logistics is complete, so debugging becomes a more apparent usage


note, it uses python 3, it will soon have a batch script and shell script to take the place of the current way to use it, if you have not figured it out yet


note: the syntax to run a xent file, is

python3 xent.py [xent file]
1 Like

it is actually, just a typical normal programming language,
also, no compilation, and, you have to admit, compiling code like in c++, java, c, and other languages takes away at time, and time is important.

the language is designed to have speed, and not mess up during it, soon, after the breakpoints are complete, i am planning to work on language respective commands, i will explain those in detail the further xent gets!

now that i think about it, i should make a list of the additions i am planning…

1 Like

input will be in the works while breakpoints will be worked on

1 Like

Wonderful project, keep up the good work

2 Likes

Compiling provides language the ability to speed it up using the machine code. And also, as you said you’re using Python, it also compiles but to the files called *.pycache

1 Like

hm, i will see if there is some way to prevent that till i go to c++

1 Like

put this in the lexer script or any python script to prevent .pycache from being compiled:

import sys
sys.dont_write_bytecode = True

1 Like

ok!

yea, seems good to use, it will be implemented in a few minutes

update!
arguments are up and working! next up, logic!

Okay, how do I use this?

the docs are coming out soon!

I’m creating some usage docs, the link is https://xendocs.glitch.me/

1 Like

update: we got a sub reddit now, it is r/XENTEXT

be sure to check it out, it will be finished getting set up tonight


note: i will be on it EVERY night, unless otherwise i will say so here, i will be answering questions rapidly at night

Im on the subreddit now

Dude, there’s something I still don’t understand. HOW DO I USE THIS XEN TEST???

@khalby786 please calm down!, i’ll send a PM with a guide

1 Like

The guide is ready, check your PM

Ya, sure, thanks! :grin::sweat_smile:

2 Likes

wow

reddit be getting famous XD

1 Like

Are you sure the Glitch project link is correct? @J-Tech-Foundation

@Techy I’m sorry you were given the wrong link.

That one was for members only, to remix use this link:


Documentation: xendocs.glitch.me
Reddit: r/XENTEXT

Yeah, I’ve had that thing too. I realized I needed one glitch project for sharing releases and one for testing and writing code.

By the way, I was wondering if I could help make a website like at something like xentext.ml and we can put documentation a docs.xentext.ml or we can do so something like thexenproject.ga

@javaarchive feel free! if you need a remix link for the ‘get started page’ then here is one:

https://glitch.com/edit/#!/remix/my-language-

make sure you add us please!

Just realized but look up on your first original post, I think it says Zen Text.

By the way if you want to avoid needing to learn C++ or some fast language I suggest you try a transpiler like https://github.com/Nuitka/Nuitka

So I tried to get a simple domain like xentext.ml but then I found this


apparently all the freenom domains don’t work
So apparently Freenom is doing the fly.io startegy so it only let’s you select a domain if you are logged in similar to how only fly.io/sites only shows when you are logged in(but that changed a few days ago)

Edit: I’ve got a basic site setup: https://xentext.ml/
I’ve also got a question, do I just add the usernames of everyone on the remixing project for those who helped make xentext

1 Like

Hey @javaarchive,

Whatever you create a project related to the contribution of XenText (it is XenText, I had the same doubt and @J-Tech-Foundation confirmed it to me) make sure to transfer ownership (an invite link would be enough) to DonutSquad because that is were all XenText projects resides. (The documentation and the main XenText project is already there)

// edit

Can I beautify xentext.ml?

So can I just send it to you in a private message and you can transfer it? Because I don’t see any way to transfer things to teams. Also yes, you can try to beautify it(this is the first actually neat HTML project I made).

Also a possible way to install XenText is to add a line .bashrc with alias xent=python3 xent.py or/and alias xent-cli=python3 cli.py but I think it could by messy to the system

If you choose to do this, please continue at your own risk. We are not responsible if you mess up your bash shell or container

Just add a member and they will be able to add it to the team once they have editing rights

I don’t think freenom would give you free domains anyway…

Try fly.io

ok, to clear up some confusion, yes, XenText was originally called zen text,
also, adding to a .bashrc file for linux users will not mess up anything, as long as it gets written to the file correctly, third, thanks for helping us get a site :slight_smile:

1 Like

Yes, just PM me an invite link, and I’ll add it to the team!

No, Freenom does give you free domains. But only the .tk, .ml, .ga, .cf and .gq are free!

1 Like

I can live with that! FREE DOMAINS YAY

1 Like

Oh yeah, also I just have to renew it on the last 2 weeks of the 12 month period(I think it’s 2 weeks). By the way, I’m going to get a Reddit account to post a long message about XenText ideas.

well, here is an update if you had not already noticed: i am learning java, so i decided to change the new compiler to be that of java, also because hey, xen text should be usable anywhere? even on phones, so why not!

update: i thought it would be a good idea if xen text would be able to hook up to the internet, this will be possible 1-2 weeks after the java compiler is released

edit: java compiler shall be released in 2-3 weeks due to many interruptions over the next week for me.

Ok so I couldn’t post on reddit due not having enough “karmas” so I am going to dump that whole ideas for XenText thing here:

Variables

Easy to implement, might be harder for C++: Create a dictionary/map to store the variables. To store a variable set the key as a string of the variable number and serialize the variable content. Now to access the variable get the variable data by the variable name as a key then deserialize it and perform whatever actions the user wants to do.

Harder to implement, better for all languages because SQLite is written in C++ or C I think: Assuming you’ve already created a table, create two columns mainly for key and value. Then follow the steps above except instead of setting the key and value of a map you set the values of the key and value columns. To retrieve a variable use the select command in SQL.

Call Stack

When nothing is running the call stack is empty. If a function is invoked the current variables are saved and thrown onto an item on the call stack. Then we reinitalize the variables system with the parameters/arguments sent to the function.
^
This applies only if you don’t want the variables outside a function to transfer.

I have more ideas but I’m still thinking of how to put them in text. Also can we make a flair for suggestions?

Also I’m pretty cool with java. I can also read java. By the way, it’s less hard to make mistakes in java for me in my experience.

variables will be added 3-4 weeks after the java release, i have this majorly planned out already :wink: also a call stack… clever

1 Like

Thanks, I sorta got the idea from recursion and StackOverflow errors. BTW I am also private messaging the links to the website.
^
Lol I forgot to specify who I was PMing

ok ( ignore )))))))))

Meeeee! Sending it to @J-Tech-Foundation is also fine, but I guess he’s busy.

3 Likes

is fly.io free?

Nope definitely not free

Well actually depends how much you use.

Acroding to jenns article, it looks free

It’s because they give you $10 of monthly free credit
Which means you can run really small virtual machines for free as long as you don’t go over the free $10 of monthly credit.

1 Like