Giter Club home page Giter Club logo

vv_apha's Introduction

This is a personnal project for learning low level programming.

The goal is to implement a programming language using python and assembly.

I'm taking inspiration from Porth (https://gitlab.com/tsoding/porth) ,

but vV is already different in implementation and in planning.

Update 0.0.4: 
		Global and Local Variables, reworked functions

Planned Updates:

0.0.?: 	The string Update

	-add a 2nd stack for strings
		-new stack pointer: r14 (string stack pointer)
	-8 new string or io related keywords
	
	-string LIFO:	byte 1 hold size (max 255 size string on stack)
			string follows at addr +1, +2 ...
			push / pop using size and string SP to align strings

Current Implementation:

vV (pronounced in french "Double V", the name of the letter W . Could be called "double-u" or "double-v") is a stack based programming language.

For now, it only has: - basic operations ( + - mul div < > ! & ^ % ) - if , else , end , do , while , break for flow control - numeric and ascii input/output - basic Error Managment

Now(0.0.4.1) Having

-n dimention Array(only global for now)
-Ref Type (a kind of pointer)
- basic function (no arg passing)

-arg functions

stack is in .bss for now, pointed to by r15

rsp is used as return stack

	-

vv_apha's People

Contributors

guiwong avatar

Watchers

 avatar

vv_apha's Issues

more / less compares signed values

more ( >? ) and less ( <? ) operand give a result based on signed 32 bit values.
They should be updated to compare unsigned by default

Relative adress Solving need Total Rework

Currently, relative or not is defined at compile time.
Even If this hasn't caused any problems yet, it'll certainly break down the line.

New logic will need to depend on runtime data to solve relative/direct 32bit addresses.

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.