Let's build a VS Code extension for AL Language!

Overview

AL Pragma Explorer README

Features

This extension enables a view in the Explorer.

The view shows a treeview of

  • workspaces
    • pragmas
      • files
        • Line where-used

al-Pragme-View

Requirements

Extension gets activate on AL language detection

Extension Settings

None (in progress)

Release Notes

0.0.1

September 14, 2022

  • Initial release of AL Pragma Explorer
You might also like...

Alpine.js Language Features (Volar) extension for coc.nvim

[Experimental] coc-volar-alpinejs fork from vscode-alpine-language-features Alpine Language Features extension for coc.nvim Note @volar/alpine-languag

Oct 12, 2022

An enhanced VSCode extension for the Move programming language.

Move Analyzer Plus Provides language support for the Move programming language. Install on the VSCode Extension Marketplace: Move Analyzer Plus on the

Aug 12, 2022

A VS Code extension for web-code.

uweb: web-code extension Makes the navigation in web-code easier, adding a few commands. If your workflow is to open a VS Code instance for each indiv

Jun 8, 2022

VS Code extension that adds a red error squiggle to every word in your code.

VS Code extension that adds a red error squiggle to every word in your code.

Dumbisense Dumbisense is a VS Code extension that adds a red error squiggle to every word in your code, with an interesting error message and dino ima

Sep 3, 2022

Argon - extension for VS Code and plugin for Roblox allowing easy two-way sync of code and instances

Argon - extension for VS Code and plugin for Roblox allowing easy two-way sync of code and instances

About Argon is a simple two-way sync plugin for Roblox and extension for Visual Studio Code allowing developers not only to sync code but every possib

Dec 29, 2022

Flight is a universal package manager for your needs, no matter what language you may want to write your code in.

Flight Swift, reliable, multi-language package manager. ⚡ Installation We don't have an official release of Flight yet, however, if you would like to

Dec 25, 2022

The language service that powers VS Code's Markdown support, extracted so that it can be reused by other editors and tools

VS Code Markdown Language Service ❗ Note this project is actively being developed and not yet ready for production use! The language service that powe

Dec 30, 2022

An obsidian plugin that allows code blocks executed interactively in sandbox like jupyter notebooks. Supported language rust、kotlin、python、Javascript、TypeScript etc.

An obsidian plugin that allows  code blocks executed interactively in sandbox like jupyter notebooks. Supported language rust、kotlin、python、Javascript、TypeScript etc.

Obsidian Code Emitter This plugin allows code blocks executed interactively like jupyter notebooks. Currently, support languages: Rust Kotlin JavaScri

Dec 28, 2022

A code formatter for the Motoko smart contract language.

Motoko Formatter · A Prettier plugin for the Motoko programming language. Setup After making sure Node.js is installed on your local machine, run the

Dec 19, 2022
Comments
  • Parsing Speed: An attempt at a state machine

    Parsing Speed: An attempt at a state machine

    Hey guys,

    inspired by something that Vjeko mentioned during one of the pauses, I tried my hand at writing a state machine "lexer" to parse the files. My results are mixed, to say the least ;-)

    (I had no idea what I was doing here, this might be ridiculously wrong and if you laugh your head off, please let me parttake in your amusement :D)

    My guess is that this code creates overhead which the JScript interpreter doesn't have to deal with in the current parsing code.

    It actually works, but it seems to perform a bit worse than the original code in my tests.

    • I wonder if not instantiating an object of the LexerParser class and getting rid of a few if-statements could help
    • The step() code seems dirty compared to what I've seen, if it's correct this way at all
    • There's some unecessary variables and assignments in there

    Lexer Code: src/parser/Lexer.ts https://pastebin.com/vJnHqv8z

    A simple way to implement it is to add this to src/parser/parse.ts :

    const lexerParser = new LexerParser(uri); const results = lexerParser.readFile(); return results;

    (Above the current parsing code, comment the rest out.)

    Thanks for having a look, kind regards, Wolfram


    Here's some stopwatch code in case you want to measure results:

    var startTime: Date, endTime: Date;
    
    function start() {
        startTime = new Date();
    }
    
    function end() {
        endTime = new Date();
        var timeDiff = endTime.getMilliseconds() - startTime.getMilliseconds(); //in ms
        console.log(timeDiff + ' milliseconds');
    }
    
    opened by wolframs 7
  • [Enhancement] #define

    [Enhancement] #define

    Hi all,

    I hope you are doing well. Currently, we have implemented to have the pragma in app.json only. According to the docs: (Compiler Directives), we can also have them using #DEFINE "MYPRAGMA".

    The main differences are: These pragmas are file scoped.

    Would love to try that

    enhancement 
    opened by mrabus 2
  • #if not pragma ...

    #if not pragma ...

    Hi Vjeko,

    I really like your new extension, thx for supporting our community. Sometimes I use if not pragma in my projects, at the moment these are presented twice in the pragma-explorer. Maybe you can change this in one of the next releases.

    Thanks, Martin.

    bug 
    opened by msomp 1
Owner
Vjekoslav Babić
Vjekoslav Babić
Kurs-repo för kursen Webbserver och Databaser

Webbserver och databaser This repository is meant for CME students to access exercises and codealongs that happen throughout the course. I hope you wi

null 14 Jan 3, 2023
Let's build a VS Code extension for AL Language!

AL Pragma Explorer README Features This extension enables a view in the Explorer. The view shows a treeview of workspaces pragmas files Line where-use

Vjekoslav Babić 16 Oct 14, 2022
Write "hello world" in your native language, code "hello world" in your favorite programming language!

Hello World, All languages! ?? ?? Write "hello world" in your native language, code "hello world" in your favorite language! #hacktoberfest2022 How to

Carolina Calixto 6 Dec 13, 2022
Visual Studio Code extension for supporting jaksel-language

jaksel-language-support for Visual Studio Code Visual Studio Code extension for supporting jaksel-language coding experience. Features Syntax Highligh

Ngupuk 6 Oct 23, 2022
i18n-language.js is Simple i18n language with Vanilla Javascript

i18n-language.js i18n-language.js is Simple i18n language with Vanilla Javascript Write by Hyun SHIN Demo Page: http://i18n-language.s3-website.ap-nor

Shin Hyun 21 Jul 12, 2022
When a person that doesn't know how to create a programming language tries to create a programming language

Kochanowski Online Spróbuj Kochanowskiego bez konfiguracji projektu! https://mmusielik.xyz/projects/kochanowski Instalacja Stwórz nowy projekt przez n

Maciej Musielik 18 Dec 4, 2022
A VS Code extension to practice and improve your typing speed right inside your code editor. Practice with simple words or code snippets.

Warm Up ?? ??‍?? A VS Code extension to practice and improve your typing speed right inside your code editor. Practice with simple words or code snipp

Arhun Saday 34 Dec 12, 2022
Plugin that lets you create diagrams from textual representation (aka 'Diagrams as Code') within Logseq

Logseq - Diagrams as Code Plugin that lets you create diagrams (and other visualizations) from textual representation (aka 'Diagrams as Code') within

Nicolai P. Großer 80 Dec 21, 2022
A lexical analyzer based on DFA that made by JS and supports multi-language extension

lexer 一个基于DFA法的支持多语言扩展的JS版开源词法分析器,快速了解与体验请查看线上网站 It is a lexical analyzer based on DFA that made by JS and supports multi-language extension. For quic

null 273 Dec 21, 2022
VSCode extension for the rickroll-lang programming language (incomplete)

Rickroll-Lang VSCode Extension The Rick Roll programming language is a rickroll based, process oriented, dynamic, strong, esoteric programming languag

Siddhesh Zantye 6 Oct 10, 2022