Skip to content
Open navbar menu
Sign UpLog In
Profile icon

Compiler Man

@ELDER054
Compilers, and Language Design Enthusiast.
  • gizmo-lang

    Cover page
    Made with C

    Gizmo - A fast and user friendly programming language for parsing and manipulating strings

    Recent comments (0)
ELDER054
ELDER054
published an Update
2 years ago
2
Improved lexer
Improved lexer
Make a Full Lexer in Python! (Improved and Upgraded)
Read the comments inside the code to learn how to start your journey on creating programming languages. The code will explain how to make a lexer, which is the first step in making a programming language.
ELDER054
ELDER054
shared a Post
2 years ago
Gizmo Gizmo is a fast and user friendly language for manipulating or parsing strings. It may not be much to look at yet, but the key word there is ye
DeadWither
DeadWither
Thanks2 years ago
ELDER054
ELDER054
published a Repl
2 years ago
3
IDE
IDECLIDE, Custom Language IDE, is a full syntax highlighting editor with auto-indentation and a file system
MrVoo
MrVoo
Two things - Does this have an output? And, you should add a title (instead of `<title>repl.it</title>`)2 years ago
DeadWither
DeadWither
Is Gizmo a new language and if it is, can you make a README on gizmo's syntax2 years ago
ELDER054
ELDER054
shared a Post
2 years ago
#html
#editor
#javascript
+1
CLIDE, Custom Language IDE, is a full syntax highlighting editor with auto-indentation, and a file system. Report any bugs you find to me, and I will
IDE
HTML, CSS, JS
Dunce
Dunce
This looks really cool, but how do you actually run the code?2 years ago
JacobMcPherson1
JacobMcPherson1
That's cool, but first of all, I don't know Gizmo lol and second of all there doesn't seem to be a way to run the code2 years ago
ELDER054
ELDER054
shared a Post
3 years ago
What is a Lexer? A lexer is an analyzer that moves through your code looking at each character, and trying to create tokens out of them This input i
Wumi4
Wumi4
Nice! But I think that you should start with making tokens part first, for example, building a Token class that contains informations about the token(like column, lexeme, line and type), then start with the lexer. It will make everything more convenient since you just need to create a Token instance, eat informations for it, and return it to the user. It follows the DRY(Don't Repeat Yourself) rule very well! But anyway, nice one!3 years ago
adl212
adl212
could you make a parser so that i don't need to code my own programming language? https://repl.it/@adl212/programmingLangScratch don't actually do it lol3 years ago
ELDER054
ELDER054
shared a Post
3 years ago
After finding someone’s project that used SLY (Sly Lex Yacc), I decided this would help me be able to create a programming language. So I picked my st
glitchish
glitchish
@Elderosa just as a side note, I forked this and when i did var a=1; console.log(a); it said Traceback (most recent call last): File "main.py", line 121, in parser.parse(lexer.tokenize(line)) File "/opt/virtualenvs/python3/lib/python3.8/site-packages/sly/yacc.py", line 2082, in parse value = p.func(self, pslice) File "main.py", line 44, in statement return Node('=', None, [p.NAME, p.expr]) NameError: name 'Node' is not defined is there a fix for that?3 years ago
TheCheeseCoder
TheCheeseCoder
someone mde Python in js, now Python has made js! this is coool3 years ago
HoogidyBoogidy
HoogidyBoogidy
Are you gonna finish this project? If you are, let me know! I want to see this work just like javascript!3 years ago