Ask coding questions

← Back to all posts
Help (if you want to) plz [Update: Lexer - working!]
Programmer567 (46)

OK, so to start, a while ago I asked anyone if they would help with my new programming language - and ppl did. But the outcome was pretty much just an unworking console thingy that did some commands.

But now I have an idea. I want to make a basic start off to a new language (however way we'll make it) in C, C++, C# or another worthy language you think of (comment and vote which one might be the best).

You can help if you want, a.k.a. you don't have to, but it would be nice.
One more thing, comment if you want to help out, so I can add you to the repl.
-Programmer567

Commentshotnewtop
Coder100 (4393)

Hi I can help in node.js or c# :)

Programmer567 (46)

@Coder100 great! which one do you think is better?

Coder100 (4393)

probably c# in speed, and node.js for flexibility (easier to use) @Programmer567

Programmer567 (46)

I may not be on coding lang for a while ppl, but i will at some point be back
@aguy11 @Coder100 @Highwayman
Edit: we should try to get this done before the replit Make Your own Programming Language competition starts, that way we're ready :) if possible

Highwayman (1367)

Hm. Do we have any idea when that would start? There’s quite a few things we still haven’t gotten to yet... @Programmer567

Programmer567 (46)

i think we should see what we can do with python json stuff (ast) @Highwayman

Highwayman (1367)

hrm idk. For that you need the parser first and the semantic analysis and the tokenizing... we aren’t even close yet. We have much to do before we can actually make an ast. @Programmer567

Programmer567 (46)

oh ok, so what basically do we have then right now @Highwayman

Programmer567 (46)

@Highwayman ik we have the lexer petty much working for the basic stuff we want, what next? also i know @aguy11 was (and me) working on a python repl on the same thing, so that might help some of the process.

Programmer567 (46)

@Highwayman ik we have the lexer petty much working for the basic stuff we want, what next? also i know @aguy11 was (and me) working on a python repl on the same thing, so that might help some of the process.

Edit: Any of you wanna like start a team, for coding lang for the time being to work on this?

Highwayman (1367)

Hi! So sorry, my machine was down for a couple days. Aren’t we all already a team? What do you mean? @Programmer567

Highwayman (1367)

Ohhhh wait I see yeah that would be sick and super helpful! @Programmer567

Highwayman (1367)

@aguy11 , @Coder100 , @Programmer567
we have created a repl for the vm. it will be made in python. the join link is in the oriinal repl.

edit: actually we are just being added by programmer 567

Programmer567 (46)

if you mean sometime on Monday (Mon Jul 13) then I probably can't, I might be on in the afternoon, but I probably cant make it :( @Highwayman

Programmer567 (46)

maybe Tuesday or Wednesday, but for me not Monday @Programmer567

Programmer567 (46)

hello? i think i can make it today acually (or at least now i can!) so im ready. @Highwayman

Highwayman (1367)

@Programmer567 awesome! still ready? I'm on now...

Programmer567 (46)

@Coder100 we could use your help (Me and Highwayman) can u join CODING LANG plz!

Highwayman (1367)

@Coder100 ;-; lol we ping and then failed to show error sry bout that lol. it's having some weird matching problem or something cause it gets to the last comment in the prog and then just throws syntax error.

Highwayman (1367)

@Coder100 nvm figured it out, someone messed with both of the comment matches.

Highwayman (1367)

@Programmer567 the one time I’m not XD darn it. Hm maybe later.

Programmer567 (46)

ill be on bash most of today

aguy11 (107)

@Programmer567 Sorry, I am very limited and only know two-three languages: Python, HTML, C#-ish.

Programmer567 (46)

thats alright, i made a node tutorial if you'd like that @aguy11

Highwayman (1367)

@aguy11 , @Coder100 , @Programmer567
any of yall wanna do some coding rn?

aguy11 (107)

@Highwayman Not right now, but maybe tomorrow? It's sorta late where I live.

Highwayman (1367)

@aguy11 alright wana do some...?

Programmer567 (46)

i may not be able to code for some time, but u can continue even if i dont @Coder100 @Highwayman @aguy11

Highwayman (1367)

@Programmer567 alright coolio one question tho, can we change single line comments to be # instead of &

aguy11 (107)

@Highwayman Yes. Just, what language?

Programmer567 (46)

we think node and c# /or py and c# @aguy11

Programmer567 (46)

im thinking node and c# might be best @Programmer567

aguy11 (107)

@Programmer567 I can do Python. I'm not that good at C# though.

Highwayman (1367)

@aguy11 oof I was eating breakfast. NodeJS apparently

aguy11 (107)

@Highwayman Only NodeJS? I really only know Python.

Highwayman (1367)

@Programmer567 why c# tho? its another interpreted lang and it doesn't have support to load it with NodeJS like C++ does...

Highwayman (1367)

@aguy11 hm... we could make the vm in python...?? honestly idkanymore from what I can tell our options areew all crossed along every person on the projecr

aguy11 (107)

@Highwayman Yeah, I understand that. I probably won't be able to do this then for a few reasons:

  • One: I will be really busy within the next couple of weeks or so, so I'll be basically useless
  • Two: I don't even know what a VM is
  • Three: I have already tried to make a computer lang before and it sorta turned out chaotic with me almost destroying repl.it in the process...
Programmer567 (46)

First: @aguy11 you can try python (without destroying replit this time). Second: @Highwayman C++ instead of C# is fine with me, third: you can do Node if you want to (we've already started). Fourth: @aguy how did you almost destroy replit???

Highwayman (1367)

1) ok. Don’t worry, I don’t think any of us expect to develop a full language in such a short time, so there will be plenty for you to do while your here or not.

2) in this case I’m referring to the byte-code interpreter for our language. I called it a vm because I just always think of Java and the JVM when I think about byte code.

3) perfect you have experience. I have plenty of thing I develop by just continually throwing out my designs, but every time I made a draft I learned something, so you can actually help us with those experiences.

@aguy11

aguy11 (107)

@Highwayman So about #2, do you mean the Lexer?

Highwayman (1367)

@aguy11 think of the vm as a vey high level version of a cpu.

Programmer567 (46)

@Coder100 @Highwayman I will edit the title (update it) when we add something and it works.

Highwayman (1367)

@Programmer567 I basically just meant any time of the day after that point in time or even just right then. I commented and then jsut went in the repl to wait.

Programmer567 (46)

I have decided we will use C, Python, and C++.
@Highwayman do you want to voulenteer for help?

Highwayman (1367)

@Programmer567 hm... I don’t know, I kinda do, but I’m extremely flaky.. ok, but just be forewarned I am extremely flaky.

Highwayman (1367)

You should do python + c/c++ because that’s gonna get you the ease of python and the speed and control of c/c++.

Programmer567 (46)

@Highwayman hmmmm... gud idea, i'll take it into consideration

Programmer567 (46)

If your wondering why a BASH repl, idk; for some reason I thought it would be good.