Coder Social home page Coder Social logo

0xa48rx394r83e9 / nutri-lang Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 333 KB

Nutri-lang is an educational programming language designed to showcase the inner workings and concepts behind interpretive languages. It serves as a simple and straightforward example to demonstrate how source code is parsed, interpreted, and executed in a step-by-step manner.

C 100.00%

nutri-lang's Introduction

Hey! ๐Ÿ‘‹

Work on random projects for fun.

Currently slowly moving all my personal projects to github

nutri-lang's People

Contributors

0xa48rx394r83e9 avatar gamemastercoder avatar

Stargazers

 avatar

Watchers

 avatar

nutri-lang's Issues

Lexer and Parser Implementation

  • Implement the lexer to tokenize the source code
  • Develop the recursive descent parser
  • Construct the Abstract Syntax Tree (AST)

Custom language

  • Lexer and Parser Implementation
  • AST Design and Implementation
  • Semantic Analysis
  • Interpreter Development
  • Testing and Refinement
  • Documentation and Tooling

Testing and Refinement

  • Write comprehensive test cases for the language features
  • Perform testing and iterate on the language implementation

Interpreter Development

  • Implement the interpreter to execute the AST
  • Define the behavior of each AST node
  • Handle arithmetic operations, control flow, and function calls

Documentation and Tooling

  • Document the language syntax, semantics, and usage guidelines
  • Develop a command-line interface (CLI) for running the interpreter

Language Specification

  • Define the purpose and goals of the programming language
  • Specify the syntax and grammar rules
  • Determine the data types, variables, and expressions
  • Establish control flow structures and functions
  • Document the language specification

Semantic Analysis

  • Perform type checking and variable scoping
  • Implement semantic checks on the AST

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.