Giter Club home page Giter Club logo

cod's Introduction

Hi ๐Ÿ‘‹, I'm Luke_

Programming is fun because you never stop learning new exiting stuff



About me

  • You can see my most important projects in the pins list down below.
  • The reason i like programming is because its something where you keep on learning new stuff, challenging yourself, and keep breaking your limits
  • I mostly use VueJS, ASP.NET core, Entity framework. But sometimes i also like to play around with python, C, and C++

  • ๐Ÿ”ญ Iโ€™m currently working on RMS, a tool for entrepreneurs that want to sell their stuff online

  • ๐ŸŒฑ Iโ€™m currently learning More advanced ASP.NET/C#

  • ๐Ÿ‘จโ€๐Ÿ’ป All of my projects are available at https://justlucdewit.github.io/

  • ๐Ÿ’ฌ Ask me about VueJS, Javascript, ASP.NET, C#, C, C++

  • ๐Ÿ“ซ How to reach me Luke_#9999 on discord, or [email protected]

Other

GitHub stats Top Langs

cod's People

Contributors

justlucdewit avatar tombarten avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

tombarten

cod's Issues

COD-16

Console arguments

  • argc word will push argc
  • argv word will push argv pointer

COD-1

While loops

Kinda like if statements, but it will repeat the block until the top value of the stack is no longer true
Example

10

while {
    printn
    1 -
}

COD-10

includes

Includes another .cod file based on a relative path, this will just copy paste the contents in the pre processor

Includes will be writte like include "some/path/to/a/library.cod"

COD-27

Update the repo to announce it will be bootstrapped, and add a contribution section where hacktoberfest members are welcomed

COD-19

rawc blocks

Either

raw "// c code goes here"

COD-6

booleans & equality checking

First there needs to be some concepts of true and false, true and false will be built in aliases for 1 and 0

alias true 1
alias false 0

The we also need some sort of equality checking operators, which will be:

  • ==
  • !=
  • <
  • <=
  • =

COD-26

Update readme and remove language.md since we have stuff on the website now

COD-25

Setup py installer to compile to both windows and linux

COD-22

99 beers on the wall example

COD-24

Variables

// Creating value
<value> set::test

// Changing the value

get::test 5 + set::test

COD-7

heap memory management

Some words that can interface with the malloc() free() and realloc() functions of C, this will include the following new words:

malloc

pops the top value of the stack and reserves that many bytes, and pushes back a pointer to that memory

free

pops the top value of the stack and uses that as a pointer to free

realloc

pops the top value of the stack and uses that as a pointer to realloc, and then pops another value of the stack and uses that as the new buffer size

COD-9

strings

Strings can be pushed to the stack just like numbers, but in reality it will just simply put the string somewhere in memory and then push

  • the length of the string
  • the pointer to the string

These strings can be written like "" and '', can \ can be used as escape charachters just like in other programming languages like python and javascript.

COD-20

Support for other number systems

we already have decimal, but i also want

  • 0x Hexadecimal
  • 0b Binary
  • 0o Octal

COD-18

new operators

  • &
  • |
  • ^
  • <<
  • >>
  • !
  • %
  • random
  • cyclen
  • parseInt

COD-4

alias

Aliases are words that are aliases for some other word or number, they are notated using alias x y meaning there will be a new word named x, which is the same as the already existing word y.

COD-3

Comments

Comments should be removed in some sort of pre-processor, and ignored, comments will be notated using -- this a comment and will then be ignored

COD-8

subroutines

Subroutines are like macros, except they dont simply get replaced, but rather they are compiled to C functions which can then be called. Making the executable more efficient

COD-5

macros

Macros are kinda like aliases, except they can be an alias for multiple words including if statements and loops. they are written like.

macro x {
	a b c
}

Where there will be a new word created named 'x' which will be an alias for the words a, b and then c.

COD-13

File IO

  • File Read
  • File Append
  • File Write

COD-2

Basic math operators

- + / *

COD-11

Better CLI

Make the CLI support flags and options like --watch --version --verbose --time etc

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.